On Thu, Nov 10, 2011 at 10:44:59AM -0500, Justin Ruggles wrote:
> ---
> libavcodec/tta.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/tta.c b/libavcodec/tta.c
> index ed8d76b..3e4adf0 100644
> --- a/libavcodec/tta.c
> +++ b/libavcodec/tta.c
> @@ -402,7 +402,7 @@ static int tta_decode_frame(AVCodecContext *avctx,
> } else {
> // shift samples for 24-bit sample format
> int32_t *samples = data;
> - for (p = s->decode_buffer; p < s->decode_buffer + (framelen *
> s->channels); p++)
> + for (i = 0; i < framelen * s->channels; i++)
> *samples++ <<= 8;
> // reset decode buffer
> s->decode_buffer = NULL;
> --
LGTM
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel