[FFmpeg-devel] [PATCH 0/2] Fix silent audio when channel layout specified with trailing c
Simon Thelen
ffmpeg-dev at c-14.de
Tue Jun 9 04:55:55 CEST 2015
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
More information about the ffmpeg-devel
mailing list