[FFmpeg-cvslog] libschroedingerenc: remove assert related to the old API.
Michael Niedermayer
git at videolan.org
Mon Jul 23 04:27:25 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jul 23 04:20:15 2012 +0200| [f4451d2e75c5ad41beb73ed1883bc46d9fc0da34] | committer: Michael Niedermayer
libschroedingerenc: remove assert related to the old API.
The assert is no longer needed as the buffer is allocated after
the size is known now.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f4451d2e75c5ad41beb73ed1883bc46d9fc0da34
---
libavcodec/libschroedingerenc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/libschroedingerenc.c b/libavcodec/libschroedingerenc.c
index c9640cf..7ae3888 100644
--- a/libavcodec/libschroedingerenc.c
+++ b/libavcodec/libschroedingerenc.c
@@ -304,7 +304,6 @@ static int libschroedinger_encode_frame(AVCodecContext *avccontext, AVPacket *pk
case SCHRO_STATE_END_OF_STREAM:
enc_buf = schro_encoder_pull(encoder, &presentation_frame);
av_assert0(enc_buf->length > 0);
- av_assert0(enc_buf->length <= buf_size);
parse_code = enc_buf->data[4];
/* All non-frame data is prepended to actual frame data to
More information about the ffmpeg-cvslog
mailing list