diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-10-11 10:52:34 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-10-11 10:52:34 +0300 |
commit | 34aa14546853c4f56c1cf0195707028d5f59a2f5 (patch) | |
tree | 51cd8667854ff7c682e9d797b2b5b2e55693fca7 /libavformat/aiffenc.c | |
parent | 4147d8efe5cc39d18b744a866e0cddd1978a4d00 (diff) |
lavf/aiffenc: Write extradata also for qcelp.
Fixes ticket #4009.
Diffstat (limited to 'libavformat/aiffenc.c')
-rw-r--r-- | libavformat/aiffenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/aiffenc.c b/libavformat/aiffenc.c index d876997f9b..74b778bbcb 100644 --- a/libavformat/aiffenc.c +++ b/libavformat/aiffenc.c @@ -185,7 +185,8 @@ static int aiff_write_header(AVFormatContext *s) avio_wb16(pb, 0); } - if (par->codec_tag == MKTAG('Q','D','M','2') && par->extradata_size) { + if ( (par->codec_tag == MKTAG('Q','D','M','2') + || par->codec_tag == MKTAG('Q','c','l','p')) && par->extradata_size) { ffio_wfourcc(pb, "wave"); avio_wb32(pb, par->extradata_size); avio_write(pb, par->extradata, par->extradata_size); |