Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-23 06:20:15 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-07-23 06:20:15 +0400
commitf4451d2e75c5ad41beb73ed1883bc46d9fc0da34 (patch)
treef2165ca3217397062603256d8d84ab211dbcc4da /libavcodec/libschroedingerenc.c
parentd014e19515a3a46db0034d58f5af0d335827ba93 (diff)
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@gmx.at>
Diffstat (limited to 'libavcodec/libschroedingerenc.c')
-rw-r--r--libavcodec/libschroedingerenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libschroedingerenc.c b/libavcodec/libschroedingerenc.c
index c9640cfc05..7ae3888680 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