Commit 89ec474a authored by Justin Ruggles's avatar Justin Ruggles

apedec: remove pointless increment of 'buf'

The variable is not used anymore at that point.
parent 52d4fb2a
......@@ -841,7 +841,6 @@ static int ape_decode_frame(AVCodecContext *avctx,
}
s->ptr += n;
buf += 4;
if (!nblocks || nblocks > INT_MAX) {
av_log(avctx, AV_LOG_ERROR, "Invalid sample count: %u.\n", nblocks);
return AVERROR_INVALIDDATA;
......
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