apedec: correct an error message
This commit is contained in:
parent
da55e0980e
commit
c6defb41ef
@ -819,9 +819,7 @@ static int ape_decode_frame(AVCodecContext *avctx,
|
||||
|
||||
/* should not happen but who knows */
|
||||
if (BLOCKS_PER_LOOP * 2 * avctx->channels > *data_size) {
|
||||
av_log (avctx, AV_LOG_ERROR, "Packet size is too big to be handled "
|
||||
"in lavc! (max is %d where you have %d)\n",
|
||||
*data_size, s->samples * 2 * avctx->channels);
|
||||
av_log (avctx, AV_LOG_ERROR, "Output buffer is too small.\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user