diff options
Diffstat (limited to 'libhb/detelecine.c')
-rw-r--r-- | libhb/detelecine.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libhb/detelecine.c b/libhb/detelecine.c index e7113996c..cbbab3a05 100644 --- a/libhb/detelecine.c +++ b/libhb/detelecine.c @@ -832,15 +832,15 @@ static int hb_detelecine_init( hb_filter_object_t * filter, pv->input = *init; pv->pullup_ctx = ctx = pullup_alloc_context(); - ctx->junk_left = ctx->junk_right = 1; - ctx->junk_top = ctx->junk_bottom = 4; + // "Skip" array [top, bottom, left, right] + int top, bottom, left, right; + + left = right = ctx->junk_left = ctx->junk_right = 1; + top = bottom = ctx->junk_top = ctx->junk_bottom = 4; ctx->strict_breaks = -1; ctx->metric_plane = 0; ctx->parity = -1; - // "Skip" array [top, bottom, left, right] - int top, bottom, left, right; - hb_dict_extract_int(&top, filter->settings, "skip-top"); hb_dict_extract_int(&bottom, filter->settings, "skip-bottom"); hb_dict_extract_int(&left, filter->settings, "skip-left"); |