"Justin Ruggles " <[email protected]> writes:

> Module: libav
> Branch: master
> Commit: 52e9854a83a1030b3c9012aee4332fe0d71f9382
>
> Author:    Justin Ruggles <[email protected]>
> Committer: Justin Ruggles <[email protected]>
> Date:      Fri Jan  6 18:14:24 2012 -0500
>
> tta: fix 24-bit decoding.
>
> Decode to the correct output buffer.
>
> ---
>
>  libavcodec/tta.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/tta.c b/libavcodec/tta.c
> index 7ec5435..bc83bfd 100644
> --- a/libavcodec/tta.c
> +++ b/libavcodec/tta.c
> @@ -314,7 +314,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void 
> *data,
>
>      // decode directly to output buffer for 24-bit sample format
>      if (s->bps == 3)
> -        s->decode_buffer = data;
> +        s->decode_buffer = s->frame.data[0];

src/libavcodec/tta.c:317: warning: assignment from incompatible pointer type

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to