mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
be4d1caad4
Update the still AVIF parser to only read the primary item. With this patch, AVIF still images with exif/icc/alpha channel will no longer fail to parse. For example, this patch enables parsing of files in: https://github.com/AOMediaCodec/av1-avif/tree/master/testFiles/Microsoft Adding two fate tests: 1) demuxing of still image with 1 item - this test will pass regardless of this patch. 2) demuxing of still image with 2 items - this test will fail without this patch and will pass with patch applied. Partially fixes trac ticket #7621 Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: James Zern <jzern@google.com>
12 lines
344 B
Plaintext
12 lines
344 B
Plaintext
#format: frame checksums
|
|
#version: 2
|
|
#hash: MD5
|
|
#extradata 0, 13, b52ae298d37128862ef1918cf916239c
|
|
#tb 0: 1/1
|
|
#media_type 0: video
|
|
#codec_id 0: av1
|
|
#dimensions 0: 352x288
|
|
#sar 0: 1/1
|
|
#stream#, dts, pts, duration, size, hash
|
|
0, 0, 0, 1, 36265, 235b0c6e389c4084845981e08d60db04
|