]> git.sesse.net Git - ffmpeg/commit
aac_ac3_parser: Drop in-parser downmix functionality
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 26 Apr 2017 15:08:17 +0000 (11:08 -0400)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 27 Apr 2017 18:19:50 +0000 (14:19 -0400)
commitdd3aa85b68c017c419acb0c39ff6aa890ce89e87
tree9fbfdac36f465b138d489aa1572e4efa9de290d3
parentc7bf98d4372e9217c8d75d2ca1f298385909e4da
aac_ac3_parser: Drop in-parser downmix functionality

request_channel_layout is a decoder option and it makes no sense
to have it in a parser.

This feature was needed in the past when the decoder was allowed
to reuse the avctx from the demuxer. Nowadays the decoder receives
only the parameters from it, already containing the real channel
layout (and the correct request_channel_layout option).

After initialization the decoder overwrites the channel layout
with the downmixed one that is actually output, so there is no need
to preserve this functionality in the parser.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/aac_ac3_parser.c