When specifying the output channel layout with a trailing 'c' such as
'1c' or '2c', the pad filter created silent output files. Leaving the
trailing 'c' away resulted in correct output files, but generated a
warning that the syntax was deprecated.
The first patch fixes two bugs in ff_parse_channel_layout including an
off-by-one and an issue in the parsing helper for unknown channel
layouts.
The second patch ensures that the channel layout is returned correctly
when FF_API_GET_CHANNEL_LAYOUT_COMPAT is set.
Simon Thelen (2):
libavfilter/formats: Fix parsing of channel specifications with a
trailing 'c'.
libavutil/channel_layout: Correctly return layout when channel
specification ends with a trailing 'c'.
libavfilter/formats.c | 19 ++++++++-----------
libavutil/channel_layout.c | 2 +-
2 files changed, 9 insertions(+), 12 deletions(-)
--
2.4.2
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel