[FFmpeg-devel] [PATCHv2 3/3] avfilter/formats: do not allow unknown layouts in ff_parse_channel_layout if nret is not set

Marton Balint cus at passwd.hu
Wed Jan 25 00:57:53 EET 2017


On Sun, 22 Jan 2017, Marton Balint wrote:

>
> On Tue, 10 Jan 2017, Marton Balint wrote:
>
>>
>> On Mon, 2 Jan 2017, Marton Balint wrote:
>>
>>> Current code returned the number of channels as channel layout in that 
>> case,
>>> and if nret is not set then unknown layouts are typically not supported.
>>>
>>> Also use the common parsing code. Use a temporary workaround to parse an
>>> unknown channel layout such as '13c', after a 1 year grace period only 
>> '13C'
>>> will work.
>>>
>>> Signed-off-by: Marton Balint <cus at passwd.hu>
>>> ---
>>> libavfilter/formats.c         | 26 +++++++++++++++-----------
>>> libavfilter/tests/formats.c   |  3 +++
>>> tests/ref/fate/filter-formats |  3 +++
>>> 3 files changed, 21 insertions(+), 11 deletions(-)
>>>

[...]

>>> 0 = ff_parse_channel_layout(0000000000000001,  1, 1+1+1+1);
>>
>> Ping...
>
> I will apply the series in a day or two if I get no further comments.
>

Series applied.

Regards,
Marton


More information about the ffmpeg-devel mailing list