[FFmpeg-cvslog] mpegvideo_enc: remove assert that has become obsolete with the new API

Michael Niedermayer git at videolan.org
Wed Sep 5 13:52:54 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug  6 10:26:04 2012 +0200| [19000122a4cc7551cef19ccc6ce4db82d7d290bd] | committer: Martin Storsjö

mpegvideo_enc: remove assert that has become obsolete with the new API

It now just checks uninitialized and unused data.

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 libavcodec/mpegvideo_enc.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index aeafb4d..77b0ab5 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -1608,7 +1608,6 @@ vbv_retry:
         if (s->mb_info)
             av_packet_shrink_side_data(pkt, AV_PKT_DATA_H263_MB_INFO, s->mb_info_size);
     } else {
-        assert((put_bits_ptr(&s->pb) == s->pb.buf));
         s->frame_bits = 0;
     }
     assert((s->frame_bits & 7) == 0);



More information about the ffmpeg-cvslog mailing list