On Wed, Oct 26, 2011 at 04:18:29PM -0400, Justin Ruggles wrote:
> 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 ebeaa57..d73651b 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;
> --
OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel