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

Clément Bœsch ubitux at gmail.com
Fri Jan 4 19:08:05 CET 2013


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

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130104/6d473bda/attachment.asc>


More information about the ffmpeg-devel mailing list