[FFmpeg-devel] FreeBSD libamr.c block_size error

Michael Niedermayer michaelni
Thu Feb 28 13:33:43 CET 2008


On Wed, Feb 27, 2008 at 10:23:27AM -0500, John J Fitzgerald wrote:
> Ah, right, thanks.
> 
> The diff -urN patch is named freebsd_libamr.patch and can be downloaded
> here:
> 
> http://www.mediafire.com/?dnl0z5xrrae
> 
> Contents of freebsd_libamr.patch:
> 
> --- libavcodec/libamr.c.orig    Wed Feb 27 11:21:44 2008
> +++ libavcodec/libamr.c Wed Feb 27 11:21:58 2008
> @@ -663,6 +663,7 @@
>      }
> 
>      mode = (amrData[0] >> 3) & 0x000F;
> +    static short block_size[16]={18, 23, 33, 37, 41, 47, 51, 59, 61, 6, 6,
> 0, 0, 0, 1, 1};

The patch is mangled, attach it properly!
Also const is missing and it should be unit8_t.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080228/39b7cb41/attachment.pgp>



More information about the ffmpeg-devel mailing list