[FFmpeg-devel] [PATCH] G722 decoder
Kenan Gillet
kenan.gillet
Sun Mar 22 18:30:52 CET 2009
On Mar 21, 2009, at 1:47 AM, Diego Biurrun wrote:
> On Sat, Mar 21, 2009 at 12:43:35AM -0700, Kenan Gillet wrote:
>>
>> Here is an implementation of a bitexact G.722 decoder.
>>
>> --- libavcodec/allcodecs.c (revision 18096)
>> +++ libavcodec/allcodecs.c (working copy)
>> @@ -268,6 +268,7 @@
>> REGISTER_DECODER (ADPCM_EA_XAS, adpcm_ea_xas);
>> REGISTER_ENCDEC (ADPCM_G726, adpcm_g726);
>> + REGISTER_DECODER (ADPCM_G722, adpcm_g722);
>
> alphabetical order
fixed locally
[...]
>
>> +/**
>> + * adpative preditor
>
> What?
fixed locally
>
>> +static int inline scale(const int log_factor, int shift) {
>
> Place the { on the next line like you do everywhere else.
fixed locally
>
>> --- libavformat/allformats.c (revision 18096)
>> +++ libavformat/allformats.c (working copy)
>> @@ -84,6 +84,7 @@
>> REGISTER_MUXER (FRAMECRC, framecrc);
>> REGISTER_MUXER (GIF, gif);
>> + REGISTER_MUXDEMUX (G722, g722);
>> REGISTER_DEMUXER (GSM, gsm);
>
> Move this up one line into alphabetical order.
fixed locally
More information about the ffmpeg-devel
mailing list