From 9f00cec9c00f946ed50df1124e35607b29bc6fe8 Mon Sep 17 00:00:00 2001 From: cfsmp3 Date: Sat, 10 Jan 2015 17:57:16 +0100 Subject: [PATCH] Uncomment a condition in es_functions that was causing garbled output (unknown why we commeted it out in the first place) --- src/lib_ccx/es_functions.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib_ccx/es_functions.c b/src/lib_ccx/es_functions.c index d554abbe1..d1852863f 100644 --- a/src/lib_ccx/es_functions.c +++ b/src/lib_ccx/es_functions.c @@ -730,9 +730,9 @@ static int read_pic_info(struct lib_ccx_ctx *ctx, struct bitstream *esstream, st // in GOP header already. if (picture_coding_type==CCX_FRAME_TYPE_I_FRAME || picture_coding_type==CCX_FRAME_TYPE_P_FRAME) { -// if (((picture_structure != 0x1) && (picture_structure != 0x2)) || -// (temporal_reference != current_tref)) -// { + if (((picture_structure != 0x1) && (picture_structure != 0x2)) || + (temporal_reference != current_tref)) + { // NOTE: process_hdcc() needs to be called before set_fts() as it // uses fts_now to re-create the timeline !!!!! if (has_ccdata_buffered) @@ -740,7 +740,7 @@ static int read_pic_info(struct lib_ccx_ctx *ctx, struct bitstream *esstream, st process_hdcc(ctx, sub); } anchor_hdcc(temporal_reference); -// } + } } current_tref = temporal_reference;