ffmpeg | branch: release/0.10 | Michael Niedermayer <[email protected]> | Mon 
Aug  6 16:49:49 2012 +0200| [d1c490448cbe3f7715773c673e92139a7192326f] | 
committer: Diego Biurrun

mpegvideo: remove last_picture_ptr / h264 assert.

This assert is no longer true since h264 error concealment needs
last_picture_ptr to be set.

Signed-off-by: Martin Storsjö <[email protected]>
(cherry picked from commit 91672504a403556f63492093b892574234f21dd7)
Signed-off-by: Diego Biurrun <[email protected]>

Conflicts:
        libavcodec/mpegvideo.c

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

 libavcodec/mpegvideo.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index f3e2c12..b867be2 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1166,9 +1166,6 @@ int MPV_frame_start(MpegEncContext *s, AVCodecContext 
*avctx)
     Picture *pic;
     s->mb_skipped = 0;
 
-    assert(s->last_picture_ptr == NULL || s->out_format != FMT_H264 ||
-           s->codec_id == CODEC_ID_SVQ3);
-
     /* mark & release old frames */
     if (s->out_format != FMT_H264 || s->codec_id == CODEC_ID_SVQ3) {
         if (s->pict_type != AV_PICTURE_TYPE_B && s->last_picture_ptr &&

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to