projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d4fb2
)
apedec: remove pointless increment of 'buf'
author
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 11 Oct 2011 17:25:48 +0000
(13:25 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 28 Oct 2011 15:47:28 +0000
(11:47 -0400)
The variable is not used anymore at that point.
libavcodec/apedec.c
patch
|
blob
|
history
diff --git
a/libavcodec/apedec.c
b/libavcodec/apedec.c
index
9274b23
..
4e09871
100644
(file)
--- 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;