flac: don't check the number of channels before setting the channel layout.
authorTim Walker <tdskywalker@gmail.com>
Tue, 22 Jan 2013 20:53:53 +0000 (21:53 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 6 Feb 2013 20:43:05 +0000 (21:43 +0100)
commit41244e13d5452e70cfd42f76ede4a20b7081c71f
tree23c12c3283721fa909a3458954e74e77f5956c3b
parenta846dccb29d2bb0798af1d47d06100eda9ca87cc
flac: don't check the number of channels before setting the channel layout.

This is unnecessary, as ff_flac_set_channel_layout can handle any number of channels.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/flac_parser.c
libavcodec/flacdec.c