[FFmpeg-devel] [PATCH] Fix warning in synth_block_fcb_acb (in libavcodec/wmavoice.c)

Eli Friedman eli.friedman
Wed Jun 30 02:03:58 CEST 2010


On Tue, Jun 29, 2010 at 5:02 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> Hi,
>
> On Tue, Jun 29, 2010 at 7:56 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
>> Patch attached.
>
> Where?

Here.

-Eli
-------------- next part --------------
Index: libavcodec/wmavoice.c
===================================================================
--- libavcodec/wmavoice.c	(revision 23854)
+++ libavcodec/wmavoice.c	(working copy)
@@ -1342,7 +1342,7 @@
                                   wmavoice_ipol2_coeffs, 4,
                                   idx, 8, size);
         } else
-            av_memcpy_backptr(excitation, sizeof(float) * block_pitch,
+            av_memcpy_backptr((uint8_t*)excitation, sizeof(float) * block_pitch,
                               sizeof(float) * size);
     }
 



More information about the ffmpeg-devel mailing list