Commit a8a9844a authored by Michael Niedermayer's avatar Michael Niedermayer

h264: reset recovery frame on seeks.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8716c178
...@@ -2267,6 +2267,7 @@ static void flush_dpb(AVCodecContext *avctx){ ...@@ -2267,6 +2267,7 @@ static void flush_dpb(AVCodecContext *avctx){
h->s.first_field= 0; h->s.first_field= 0;
ff_h264_reset_sei(h); ff_h264_reset_sei(h);
ff_mpeg_flush(avctx); ff_mpeg_flush(avctx);
h->recovery_frame= -1;
h->sync= 0; h->sync= 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment