flac: don't check the number of channels before setting the channel layout
authorTim Walker <tdskywalker@gmail.com>
Thu, 7 Feb 2013 09:36:21 +0000 (09:36 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 7 Feb 2013 09:36:21 +0000 (09:36 +0000)
commit08797c599df5371909f6924d732b654f8892cc91
tree6e9b2d79a789798b82b7cc9337aa3a460907bf18
parentd11ac64ecf03f7896ebc5e776e078fdc1f0543a4
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.
libavcodec/flac_parser.c
libavcodec/flacdec.c