mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/5.1
parent
42d75f2faa
commit
be4d1caad4
5 changed files with 57 additions and 20 deletions
@ -0,0 +1,11 @@ |
||||
#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 |
@ -0,0 +1,11 @@ |
||||
#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 |
Loading…
Reference in new issue