apedec: remove pointless increment of 'buf'

The variable is not used anymore at that point.
This commit is contained in:
Justin Ruggles 2011-10-11 13:25:48 -04:00
parent 52d4fb2a3d
commit 89ec474a43

View File

@ -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;