|
@@ -1644,6 +1644,7 @@ static int decode_packet(AVCodecContext *avctx, WMAProDecodeCtx *s, |
|
|
if (avctx->codec_id == AV_CODEC_ID_WMAPRO && buf_size < avctx->block_align) { |
|
|
if (avctx->codec_id == AV_CODEC_ID_WMAPRO && buf_size < avctx->block_align) { |
|
|
av_log(avctx, AV_LOG_ERROR, "Input packet too small (%d < %d)\n", |
|
|
av_log(avctx, AV_LOG_ERROR, "Input packet too small (%d < %d)\n", |
|
|
buf_size, avctx->block_align); |
|
|
buf_size, avctx->block_align); |
|
|
|
|
|
s->packet_loss = 1; |
|
|
return AVERROR_INVALIDDATA; |
|
|
return AVERROR_INVALIDDATA; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|