[libav-commits] mpegvideo_enc: remove assert that has become obsolete with the new API

Michael Niedermayer git at libav.org
Tue Sep 4 21:36:24 CEST 2012


Module: libav
Branch: master
Commit: 19000122a4cc7551cef19ccc6ce4db82d7d290bd

Author:    Michael Niedermayer <michaelni at gmx.at>
Committer: Martin Storsjö <martin at martin.st>
Date:      Mon Aug  6 10:26:04 2012 +0200

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>

---

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

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 libav-commits mailing list