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

pkv.stream pkv.stream at gmail.com
Wed Oct 4 21:25:47 EEST 2017


Le 02/10/2017 à 9:50 PM, pkv.stream a écrit :
> Thanks Michael; replaced the offending MSVC function.
>
> Le 02/10/2017 à 9:35 PM, Michael Niedermayer a écrit :
>> 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);
>>
>>
>> [...]
>>
>>
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
and ping



More information about the ffmpeg-devel mailing list