From c9e596e60a8af938b3db7916c7d492250f3193da Mon Sep 17 00:00:00 2001 From: rkuchumov Date: Wed, 10 Jun 2015 08:25:20 +0300 Subject: [PATCH] flushing cc buffer every I, P slice for both fields --- src/lib_ccx/avc_functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_ccx/avc_functions.c b/src/lib_ccx/avc_functions.c index 1b252120..d550faec 100644 --- a/src/lib_ccx/avc_functions.c +++ b/src/lib_ccx/avc_functions.c @@ -984,7 +984,7 @@ void slice_header (struct lib_ccx_ctx *ctx, unsigned char *heabuf, unsigned char } // if slices are buffered - flush - if (isref && !bottom_field_flag) + if (isref) { dvprint("\nReference pic! [%s]\n", slice_types[slice_type]); dbg_print(CCX_DMT_TIME, "\nReference pic! [%s] maxrefcnt: %3d\n",