Commit f4451d2e authored by Michael Niedermayer's avatar 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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d014e195
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment