diff options
author | Vignesh Venkatasubramanian <vigneshv-at-google.com@ffmpeg.org> | 2022-04-22 11:59:11 -0700 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2022-04-23 13:26:34 +0530 |
commit | 499e245b856733c3bbcd3ba23b406729343ed5fe (patch) | |
tree | 7e50a0b4897befbede4d6255282ef3864d819bb0 /libavformat/isom.h | |
parent | 0d666200d30be1643aa46fa67073f257c11937ac (diff) | |
download | ffmpeg-499e245b856733c3bbcd3ba23b406729343ed5fe.tar.gz |
avformat/mov: Add support for still image AVIF parsing
This patch supports AVIF still images conforming to the
final specification that have exactly one item (i.e. no alpha channel).
The iloc box is parsed and the mov index populated.
Partially fixes #7621.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r-- | libavformat/isom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h index 99408a42d1..cf36f04d5b 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -316,6 +316,7 @@ typedef struct MOVContext { int have_read_mfra_size; uint32_t mfra_size; uint32_t max_stts_delta; + int is_still_picture_avif; } MOVContext; int ff_mp4_read_descr_len(AVIOContext *pb); |