[FFmpeg-cvslog] h264: reset recovery frame on seeks.

Michael Niedermayer git at videolan.org
Tue Sep 20 02:53:40 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 20 02:37:37 2011 +0200| [a8a9844a3c3dab30ea479f5004b51eed5f3eac6c] | committer: Michael Niedermayer

h264: reset recovery frame on seeks.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a8a9844a3c3dab30ea479f5004b51eed5f3eac6c
---

 libavcodec/h264.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 044be6b..4d08642 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;
 }
 



More information about the ffmpeg-cvslog mailing list