Commit c6defb41 authored by Justin Ruggles's avatar Justin Ruggles

apedec: correct an error message

parent da55e098
...@@ -819,9 +819,7 @@ static int ape_decode_frame(AVCodecContext *avctx, ...@@ -819,9 +819,7 @@ static int ape_decode_frame(AVCodecContext *avctx,
/* should not happen but who knows */ /* should not happen but who knows */
if (BLOCKS_PER_LOOP * 2 * avctx->channels > *data_size) { if (BLOCKS_PER_LOOP * 2 * avctx->channels > *data_size) {
av_log (avctx, AV_LOG_ERROR, "Packet size is too big to be handled " av_log (avctx, AV_LOG_ERROR, "Output buffer is too small.\n");
"in lavc! (max is %d where you have %d)\n",
*data_size, s->samples * 2 * avctx->channels);
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment