Update FATE reference due to WAVE channel mask now being set correctly.
Justin Ruggles authored on 2012/04/08 01:55:12... | ... |
@@ -18,6 +18,8 @@ |
18 | 18 |
* License along with Libav; if not, write to the Free Software |
19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | 20 |
*/ |
21 |
+ |
|
22 |
+#include "libavutil/channel_layout.h" |
|
21 | 23 |
#include "avformat.h" |
22 | 24 |
|
23 | 25 |
static int daud_header(AVFormatContext *s) { |
... | ... |
@@ -28,6 +30,7 @@ static int daud_header(AVFormatContext *s) { |
28 | 28 |
st->codec->codec_id = AV_CODEC_ID_PCM_S24DAUD; |
29 | 29 |
st->codec->codec_tag = MKTAG('d', 'a', 'u', 'd'); |
30 | 30 |
st->codec->channels = 6; |
31 |
+ st->codec->channel_layout = AV_CH_LAYOUT_5POINT1; |
|
31 | 32 |
st->codec->sample_rate = 96000; |
32 | 33 |
st->codec->bit_rate = 3 * 6 * 96000 * 8; |
33 | 34 |
st->codec->block_align = 3 * 6; |