Commit 34aa1454 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/aiffenc: Write extradata also for qcelp.

Fixes ticket #4009.
parent 4147d8ef
......@@ -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);
......
......@@ -33,7 +33,7 @@
// Also please add any ticket numbers that you believe might be affected here
#define LIBAVFORMAT_VERSION_MAJOR 57
#define LIBAVFORMAT_VERSION_MINOR 51
#define LIBAVFORMAT_VERSION_MICRO 104
#define LIBAVFORMAT_VERSION_MICRO 105
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment