aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-08-30 17:14:46 +0200
committerPaul B Mahol <onemda@gmail.com>2022-09-24 14:03:59 +0200
commita166b8a19bb34afc2c6727f20f551fce9a53d6fe (patch)
tree98ba651f57251a0f07d9d02d881f15bad47d954f /libavformat/avidec.c
parent2f9fa7e3e9e85c736e6ba87192ec8f32bdf069a7 (diff)
downloadffmpeg-a166b8a19bb34afc2c6727f20f551fce9a53d6fe.tar.gz
avcodec: add FTR audio decoder and parser
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 910a4e8792..7a3fad6392 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -923,6 +923,7 @@ static int avi_read_header(AVFormatContext *s)
ast->dshow_block_align = 0;
}
if ((st->codecpar->codec_id == AV_CODEC_ID_AAC ||
+ st->codecpar->codec_id == AV_CODEC_ID_FTR ||
st->codecpar->codec_id == AV_CODEC_ID_FLAC ||
st->codecpar->codec_id == AV_CODEC_ID_MP2 ) && ast->dshow_block_align <= 4 && ast->dshow_block_align) {
av_log(s, AV_LOG_DEBUG, "overriding invalid dshow_block_align of %d\n", ast->dshow_block_align);