apedec: remove pointless increment of 'buf'
The variable is not used anymore at that point.
This commit is contained in:
parent
52d4fb2a3d
commit
89ec474a43
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user