[FFmpeg-devel] [PATCH] alsdec: fix typo

Paul B Mahol onemda at gmail.com
Fri Jan 4 20:28:11 CET 2013


On 1/4/13, Clement Boesch <ubitux at gmail.com> wrote:
> On Fri, Jan 04, 2013 at 04:38:08PM +0000, Paul B Mahol wrote:
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  libavcodec/alsdec.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
>> index f632017..8b9c2ee 100644
>> --- a/libavcodec/alsdec.c
>> +++ b/libavcodec/alsdec.c
>> @@ -308,7 +308,7 @@ static av_cold int read_specific_config(ALSDecContext
>> *ctx)
>>      skip_bits_long(&gb, 32); // sample rate already known
>>      sconf->samples              = get_bits_long(&gb, 32);
>>      avctx->channels             = m4ac.channels;
>> -    skip_bits(&gb, 16);      // number of channels already knwon
>> +    skip_bits(&gb, 16);      // number of channels already known
>>      skip_bits(&gb, 3);       // skip file_type
>>      sconf->resolution           = get_bits(&gb, 3);
>>      sconf->floating             = get_bits1(&gb);
>
> [~/src/ffmpeg]* git grep knwon
> libavcodec/alsdec.c:    skip_bits(&gb, 16);      // number of channels
> already knwon
> libavcodec/mjpegdec.c:        skip_bits(&s->gb, 16); /* unknwon always 0?
> */
> libavcodec/mjpegdec.c:        skip_bits(&s->gb, 16); /* unknwon always 0?
> */
> libavcodec/mjpegdec.c:        skip_bits(&s->gb, 16); /* unknwon always 0?
> */
> libavformat/mxfenc.c:    // DV Unknwon
>
> Sounds like a good candidate for tools/patcheck

Done and applied.


More information about the ffmpeg-devel mailing list