mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
nellymoserdec: remove pointless buffer size check.
This commit is contained in:
parent
854eadccb6
commit
f19305fe93
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user