[FFmpeg-devel] [DEVEL][PATCH] ffmpeg: fix channel_layout bug on non-default layout

Michael Niedermayer michael at niedermayer.cc
Mon Oct 2 22:35:37 EEST 2017


On Sun, Oct 01, 2017 at 03:17:30AM +0200, pkv.stream wrote:
> Hello
> 
> the submitted patch addresses the regression discussed in ticket #6706.
> 
>  <https://trac.ffmpeg.org/ticket/6706>
> 
> The -channel_layout option is not working when the channel layout is not
> a default one (ex: for 4 channels, quad is interpreted as 4.0 which is
> the default layout for 4 channels; or octagonal interpreted as 7.1).
> This leads to the spurious auto-insertion of an auto-resampler filter
> remapping the channels even if input and output have identical channel
> layouts.
> 
> Thanks for any comments.

fails build:

fftools/ffmpeg_opt.c:1810:13: error: implicit declaration of function ‘_strtoui64’ [-Werror=implicit-function-declaration]
             ost->enc_ctx->channel_layout = _strtoui64(output_layout->value, NULL, 10);


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171002/441e2db0/attachment.sig>


More information about the ffmpeg-devel mailing list