Hi,

On Sat, Jan 7, 2012 at 7:26 AM, Justin Ruggles <[email protected]> wrote:
> fixes "warning: assignment from incompatible pointer type"
> ---
>  libavcodec/tta.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/tta.c b/libavcodec/tta.c
> index bc83bfd..4656ce1 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 = s->frame.data[0];
> +        s->decode_buffer = (int32_t *)s->frame.data[0];

OK.

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

Reply via email to