Skip to content

Commit

Permalink
Uncomment a condition in es_functions that was causing garbled output…
Browse files Browse the repository at this point in the history
… (unknown why we commeted it out in the first place)
  • Loading branch information
cfsmp3 committed Jan 10, 2015
1 parent b7d2754 commit 9f00cec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib_ccx/es_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,17 +730,17 @@ 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)
{
process_hdcc(ctx, sub);
}
anchor_hdcc(temporal_reference);
// }
}
}

current_tref = temporal_reference;
Expand Down

0 comments on commit 9f00cec

Please sign in to comment.