diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-20 02:37:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-20 02:52:17 +0200 |
commit | a8a9844a3c3dab30ea479f5004b51eed5f3eac6c (patch) | |
tree | 35d4ba4707ac765a6bfc9f657058d4dc24b7a3e8 /libavcodec/h264.c | |
parent | 8716c178ddabe28a01a9fe81fff68d117b779333 (diff) | |
download | ffmpeg-a8a9844a3c3dab30ea479f5004b51eed5f3eac6c.tar.gz |
h264: reset recovery frame on seeks.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 044be6bfe9..4d08642779 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2267,6 +2267,7 @@ static void flush_dpb(AVCodecContext *avctx){ h->s.first_field= 0; ff_h264_reset_sei(h); ff_mpeg_flush(avctx); + h->recovery_frame= -1; h->sync= 0; } |