diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2023-07-08 04:44:17 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2023-07-19 22:43:33 +0800 |
commit | be7ac511a6b4dd9883c0a6dd8323b04f651193f4 (patch) | |
tree | 4f78f81291e06fae462d4f8ed609e5b1d7935709 /libavformat | |
parent | 3af0dc6d056ee100d9a483ffbd63d89cda757cd9 (diff) | |
download | ffmpeg-be7ac511a6b4dd9883c0a6dd8323b04f651193f4.tar.gz |
avformat/mov: avss box should be AV_CODEC_ID_CAVS
I cannot find the spec, but according to the original commit
d4fdba0df71, it's CAVS. e571305a714 changed it to AVS by
accident. Ten years on, nothing happened. We still have the
sample [1], however, since there is no cavs_mp4tofoobar bsf, the
cavs decoder doesn't work. I don't know if there is any use case.
[1] https://samples.ffmpeg.org/AVS/AVSFileFormat/AVSFileFormat.mp4
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 444aca5235..ac19b3157a 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1911,7 +1911,7 @@ static int mov_read_alac(MOVContext *c, AVIOContext *pb, MOVAtom atom) static int mov_read_avss(MOVContext *c, AVIOContext *pb, MOVAtom atom) { - return mov_read_extradata(c, pb, atom, AV_CODEC_ID_AVS); + return mov_read_extradata(c, pb, atom, AV_CODEC_ID_CAVS); } static int mov_read_jp2h(MOVContext *c, AVIOContext *pb, MOVAtom atom) |