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

Alexis Ballier alexis.ballier at gmail.com
Mon Jul 15 15:51:05 CEST 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ra144enc-set-supported-channel-layouts.patch
Type: application/octet-stream
Size: 759 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130715/481b7391/attachment.obj>


More information about the ffmpeg-devel mailing list