h264: reset recovery frame on seeks.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-09-20 02:37:37 +02:00
parent 8716c178dd
commit a8a9844a3c

View File

@ -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;
}