[FFmpeg-devel] [PATCH] alsdec: improve warning message when invalid channel position is found

Michael Niedermayer michaelni at gmx.at
Sat Dec 22 18:47:38 CET 2012


On Sat, Dec 22, 2012 at 12:05:43PM +0000, Paul B Mahol wrote:
> diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
> index 5b13c41..e86177a 100644
> --- a/libavcodec/alsdec.c
> +++ b/libavcodec/alsdec.c
> @@ -358,7 +358,7 @@ static av_cold int read_specific_config(ALSDecContext *ctx)
>          for (i = 0; i < avctx->channels; i++) {
>              sconf->chan_pos[i] = get_bits(&gb, chan_pos_bits);
>              if (sconf->chan_pos[i] >= avctx->channels) {
> -                av_log(avctx, AV_LOG_WARNING, "Invalid original channel position.\n");
> +                av_log(avctx, AV_LOG_WARNING, "Invalid channel reordering.\n");
>                  sconf->chan_sort = 0;
>                  break;

LGTM

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

The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121222/638af6c5/attachment.asc>


More information about the ffmpeg-devel mailing list