diff options
author | James Almer <jamrial@gmail.com> | 2024-01-22 14:35:33 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-02-26 12:21:12 -0300 |
commit | 25a10677d12c3c9def7cb22514662ac149c05fc6 (patch) | |
tree | 9779b6af1a4ca881d8304a0948cbd2e6e4e216cb /libavformat/avformat.c | |
parent | d6083f503d5bd7f9a2540c3e30d95e7add765d1e (diff) | |
download | ffmpeg-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.c | 5 |
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; } |