[FFmpeg-devel] [PATCH] ra144enc: set supported channel layouts

Michael Niedermayer michaelni at gmx.at
Mon Jul 15 18:06:06 CEST 2013


On Mon, Jul 15, 2013 at 09:51:05AM -0400, Alexis Ballier wrote:
> as per subject; afaik this is the only way for a codec to specify the # of
> channels it needs (corrections welcome) and this one has:
> 
>    if (avctx->channels != 1) {
>         av_log(avctx, AV_LOG_ERROR, "invalid number of channels: %d\n",
>                avctx->channels);
>         return -1;
>     }
> 
> in its init function, so ask for mono layout.

>  ra144enc.c |    1 +
>  1 file changed, 1 insertion(+)
> bf9ab1c97e8cf30ba671b25e66317f967da596b8  0001-ra144enc-set-supported-channel-layouts.patch
> From ad4909983bc33256b0d89dec5f3f61265fd191cd Mon Sep 17 00:00:00 2001
> From: Alexis Ballier <aballier at gentoo.org>
> Date: Mon, 15 Jul 2013 09:46:51 -0400
> Subject: [PATCH] ra144enc: set supported channel layouts.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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/20130715/b244f270/attachment.asc>


More information about the ffmpeg-devel mailing list