Browse Source

h264: reset recovery frame on seeks.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 13 years ago
parent
commit
a8a9844a3c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/h264.c

+ 1
- 0
libavcodec/h264.c 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;
}



Loading…
Cancel
Save