diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-10 17:33:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-10 18:51:48 +0100 |
commit | 5b2873c1d57683f377caf77b03e38a427eb3922b (patch) | |
tree | b37e51f9b251d46911947285acc7193e1ab119c6 /libavcodec/h264_refs.c | |
parent | 257c85cddde8633caffb76e97e9710b1aebfc511 (diff) | |
download | ffmpeg-5b2873c1d57683f377caf77b03e38a427eb3922b.tar.gz |
h264: switch from qatars has_b_frames calculation back to mine.
Their 2nd try does like the first not work at all.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r-- | libavcodec/h264_refs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index c75cbf11e5..cdc1fca1a0 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -586,6 +586,8 @@ int ff_h264_execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ s->current_picture_ptr->frame_num= 0; h->mmco_reset = 1; s->current_picture_ptr->mmco_reset=1; + for (j = 0; j < MAX_DELAYED_PIC_COUNT; j++) + h->last_pocs[j] = INT_MIN; break; default: assert(0); } |