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)
committerMartin Storsjö <martin@martin.st>
Tue, 4 Sep 2012 15:37:58 +0000 (18:37 +0300)
It now just checks uninitialized and unused data.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/mpegvideo_enc.c

index aeafb4d..77b0ab5 100644 (file)
@@ -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);