提交 f19305fe 编写于 作者: J Justin Ruggles

nellymoserdec: remove pointless buffer size check.

上级 854eadcc
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册