[FFmpeg-cvslog] mpegvideo_enc: remove assert that has become obsolete with the new API
Michael Niedermayer
git at videolan.org
Mon Aug 6 14:45:04 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug 6 10:26:04 2012 +0200| [f72e0d9a9f516be77d20c6a37dcd34add8f932e3] | committer: Michael Niedermayer
mpegvideo_enc: remove assert that has become obsolete with the new API
it now just checks uninitialized and unused data.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f72e0d9a9f516be77d20c6a37dcd34add8f932e3
---
libavcodec/mpegvideo_enc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index f3f7162..71b931d 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list