Module: libav
Branch: master
Commit: 89ec474a437770150c048d0db631b0bee4251b8a

Author:    Justin Ruggles <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date:      Tue Oct 11 13:25:48 2011 -0400

apedec: remove pointless increment of 'buf'

The variable is not used anymore at that point.

---

 libavcodec/apedec.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c
index 9274b23..4e09871 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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to