Browse Source

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>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
f4451d2e75
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/libschroedingerenc.c

+ 0
- 1
libavcodec/libschroedingerenc.c View File

@@ -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


Loading…
Cancel
Save