Skip to content

Commit 9f00cec

Browse files
committed
Uncomment a condition in es_functions that was causing garbled output (unknown why we commeted it out in the first place)
1 parent b7d2754 commit 9f00cec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib_ccx/es_functions.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -730,17 +730,17 @@ static int read_pic_info(struct lib_ccx_ctx *ctx, struct bitstream *esstream, st
730730
// in GOP header already.
731731
if (picture_coding_type==CCX_FRAME_TYPE_I_FRAME || picture_coding_type==CCX_FRAME_TYPE_P_FRAME)
732732
{
733-
// if (((picture_structure != 0x1) && (picture_structure != 0x2)) ||
734-
// (temporal_reference != current_tref))
735-
// {
733+
if (((picture_structure != 0x1) && (picture_structure != 0x2)) ||
734+
(temporal_reference != current_tref))
735+
{
736736
// NOTE: process_hdcc() needs to be called before set_fts() as it
737737
// uses fts_now to re-create the timeline !!!!!
738738
if (has_ccdata_buffered)
739739
{
740740
process_hdcc(ctx, sub);
741741
}
742742
anchor_hdcc(temporal_reference);
743-
// }
743+
}
744744
}
745745

746746
current_tref = temporal_reference;

0 commit comments

Comments
 (0)