aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-06 10:26:04 +0200
committerMartin Storsjö <martin@martin.st>2012-09-04 18:37:58 +0300
commit19000122a4cc7551cef19ccc6ce4db82d7d290bd (patch)
tree60f8004c584d036bbc9329d529b5abbb5a11112e
parent2c340596cab981ac842aff7da89d298025c99304 (diff)
downloadffmpeg-19000122a4cc7551cef19ccc6ce4db82d7d290bd.tar.gz
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@martin.st>
-rw-r--r--libavcodec/mpegvideo_enc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index aeafb4d1ef..77b0ab58db 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);