summaryrefslogtreecommitdiff
path: root/libavcodec/apedec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-11 13:25:48 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-28 11:47:28 -0400
commit89ec474a437770150c048d0db631b0bee4251b8a (patch)
tree312774195275607cc627f808f216d65d3f42ec65 /libavcodec/apedec.c
parent52d4fb2a3dd7aea62a06cf8358dc41fdb4913f6f (diff)
apedec: remove pointless increment of 'buf'
The variable is not used anymore at that point.
Diffstat (limited to 'libavcodec/apedec.c')
-rw-r--r--libavcodec/apedec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c
index 9274b231ce..4e09871b54 100644
--- a/libavcodec/apedec.c
+++ b/libavcodec/apedec.c
@@ -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;