aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-01-22 14:35:33 -0300
committerJames Almer <jamrial@gmail.com>2024-02-26 12:21:12 -0300
commit25a10677d12c3c9def7cb22514662ac149c05fc6 (patch)
tree9779b6af1a4ca881d8304a0948cbd2e6e4e216cb /libavformat/avformat.c
parentd6083f503d5bd7f9a2540c3e30d95e7add765d1e (diff)
downloadffmpeg-25a10677d12c3c9def7cb22514662ac149c05fc6.tar.gz
avformat: add a Tile Grid stream group type
This will be used to support tiled image formats like HEIF. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/avformat.c')
-rw-r--r--libavformat/avformat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avformat.c b/libavformat/avformat.c
index ca31d3dc56..f53ba4ce58 100644
--- a/libavformat/avformat.c
+++ b/libavformat/avformat.c
@@ -99,6 +99,11 @@ void ff_free_stream_group(AVStreamGroup **pstg)
av_iamf_mix_presentation_free(&stg->params.iamf_mix_presentation);
break;
}
+ case AV_STREAM_GROUP_PARAMS_TILE_GRID:
+ av_opt_free(stg->params.tile_grid);
+ av_freep(&stg->params.tile_grid->offsets);
+ av_freep(&stg->params.tile_grid);
+ break;
default:
break;
}