From 98c901abfa326ae2fff3eb2d82239235bc792b3e Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Tue, 2 Mar 2021 15:14:29 +0300 Subject: [PATCH] fix comments --- lib/miaf_utils.js | 5 +++-- lib/parse_stream/avif.js | 6 ++++++ lib/parse_sync/avif.js | 6 ++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/lib/miaf_utils.js b/lib/miaf_utils.js index 47135a9..882b0ba 100644 --- a/lib/miaf_utils.js +++ b/lib/miaf_utils.js @@ -1,7 +1,8 @@ // Utils used to parse miaf-based files (avif/heic/heif) // -// We look for last `ispe` box (first box is presumably a thumbnail). Images with metadata encoded -// after image data are not supported. Image sequences sometimes can't be recognized if they don't have `ispe` box. +// - image collections are not supported (only last size is reported) +// - images with metadata encoded after image data are not supported +// - images without any `ispe` box are not supported // // ISO media file spec: // https://web.archive.org/web/20180219054429/http://l.web.umkc.edu/lizhu/teaching/2016sp.video-communication/ref/mp4.pdf diff --git a/lib/parse_stream/avif.js b/lib/parse_stream/avif.js index 930ed3d..bc24da9 100644 --- a/lib/parse_stream/avif.js +++ b/lib/parse_stream/avif.js @@ -1,3 +1,9 @@ +// Utils used to parse miaf-based files (avif/heic/heif) +// +// - image collections are not supported (only last size is reported) +// - images with metadata encoded after image data are not supported +// - images without any `ispe` box are not supported +// 'use strict'; diff --git a/lib/parse_sync/avif.js b/lib/parse_sync/avif.js index ab17477..9892e78 100644 --- a/lib/parse_sync/avif.js +++ b/lib/parse_sync/avif.js @@ -1,3 +1,9 @@ +// Utils used to parse miaf-based files (avif/heic/heif) +// +// - image collections are not supported (only last size is reported) +// - images with metadata encoded after image data are not supported +// - images without any `ispe` box are not supported +// /* eslint-disable consistent-return */