diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-17 10:09:52 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-28 14:40:51 -0400 |
commit | f19305fe93e3b400f4d6f0c3450e40e0605878d0 (patch) | |
tree | d7ae6e2835eabf73eff870a769870605b90ff532 | |
parent | 854eadccb69e44e98aaf94906708839d6c0e4ed0 (diff) | |
download | ffmpeg-f19305fe93e3b400f4d6f0c3450e40e0605878d0.tar.gz |
nellymoserdec: remove pointless buffer size check.
-rw-r--r-- | libavcodec/nellymoserdec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index 2d59abf9a8..ec045af16b 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -170,11 +170,6 @@ static int decode_tag(AVCodecContext * avctx, int16_t *samples_s16 = data; float *samples_flt = data; - if (buf_size < avctx->block_align) { - *data_size = 0; - return buf_size; - } - if (buf_size % NELLY_BLOCK_LEN) { av_log(avctx, AV_LOG_ERROR, "Tag size %d.\n", buf_size); *data_size = 0; |