From f19305fe93e3b400f4d6f0c3450e40e0605878d0 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Mon, 17 Oct 2011 10:09:52 -0400 Subject: [PATCH] nellymoserdec: remove pointless buffer size check. --- libavcodec/nellymoserdec.c | 5 ----- 1 file changed, 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;