OSDN Git Service

mlp_parser: fix request_channel_layout behavior.
authorTim Walker <tdskywalker@gmail.com>
Sat, 8 Feb 2014 17:21:14 +0000 (17:21 +0000)
committerTim Walker <tdskywalker@gmail.com>
Sat, 8 Feb 2014 19:10:51 +0000 (20:10 +0100)
commitc1e7de8f62c7fd71e23d62969a618f042059381f
tree8ab0b85edb94f647523ab99a04a39d795911f998
parentf90a4bfc43c9192e89d9b4c81d80789cd9b38a2f
mlp_parser: fix request_channel_layout behavior.

When request_channel_layout is 0,
all substreams should be decoded.

Thanks to Michael Niedermayer for spotting.

Also fix a mismatch between the parser and
decoder when request_channel_layout is a
subset of Stereo.
libavcodec/mlp_parser.c