Browse Source

apedec: remove pointless increment of 'buf'

The variable is not used anymore at that point.
tags/n0.9
Justin Ruggles 14 years ago
parent
commit
89ec474a43
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/apedec.c

+ 0
- 1
libavcodec/apedec.c 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;


Loading…
Cancel
Save