mpegvideo_enc: remove assert that has become obsolete with the new API
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Aug 2012 08:26:04 +0000 (10:26 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Aug 2012 12:41:16 +0000 (14:41 +0200)
it now just checks uninitialized and unused data.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo_enc.c

index f3f7162..71b931d 100644 (file)
@@ -1640,7 +1640,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);