[FFmpeg-cvslog] avformat/mov: set stream index field in tile grids
James Almer
git at videolan.org
Tue Mar 5 01:18:35 EET 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Mar 4 18:44:12 2024 -0300| [97e1480c8cb8a7e94f89589b58d3246e578a976b] | committer: James Almer
avformat/mov: set stream index field in tile grids
It was forgotten for grid type derived images.
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97e1480c8cb8a7e94f89589b58d3246e578a976b
---
libavformat/mov.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index f0e98f38b5..023892611a 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -9315,6 +9315,7 @@ static int read_image_grid(AVFormatContext *s, const HEIFGrid *grid,
if (i == tile_grid->nb_tiles)
return AVERROR_INVALIDDATA;
+ tile_grid->offsets[i].idx = i;
tile_grid->offsets[i].horizontal = x;
tile_grid->offsets[i].vertical = y;
More information about the ffmpeg-cvslog
mailing list