forked from FFmpeg/FFmpeg
avformat/jpegxl_anim_dec: use new animated JPEG XL codec ID
A new codec ID has been added to avcodec for animated JPEG XL, so we should use that in the animated JPEG XL demuxer. Reviewed-by: Marth64 <marth64@proxyid.net> Signed-off-by: Leo Izen <leo.izen@gmail.com>
This commit is contained in:
parent
f3c4082645
commit
07e54f9b5c
3 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ static int jpegxl_anim_read_header(AVFormatContext *s)
|
|||
return AVERROR(ENOMEM);
|
||||
|
||||
st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
st->codecpar->codec_id = AV_CODEC_ID_JPEGXL;
|
||||
st->codecpar->codec_id = AV_CODEC_ID_JPEGXL_ANIM;
|
||||
avpriv_set_pts_info(st, 1, meta.timebase.num, meta.timebase.den);
|
||||
ffstream(st)->need_parsing = AVSTREAM_PARSE_FULL;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#tb 0: 1/1000
|
||||
#media_type 0: video
|
||||
#codec_id 0: jpegxl
|
||||
#codec_id 0: jpegxl_anim
|
||||
#dimensions 0: 48x48
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 0, 67898, 0x53b6516b
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#tb 0: 1/1000
|
||||
#media_type 0: video
|
||||
#codec_id 0: jpegxl
|
||||
#codec_id 0: jpegxl_anim
|
||||
#dimensions 0: 128x96
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 0, 43376, 0xb2296182
|
||||
|
|
Loading…
Add table
Reference in a new issue