diff options
author | Raphaël Zumer <raphael.zumer@vimeo.com> | 2023-03-16 17:25:32 -0400 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-03-21 13:52:36 -0300 |
commit | 6f2413a203c7dced3230f82cbc2c053872c1a713 (patch) | |
tree | 72b75c6307ae956b35bec5031a31c818f2983027 /libavcodec/av1dec.c | |
parent | 1e406692e5a1e6d9ca852f746088a5610ff80d14 (diff) | |
download | ffmpeg-6f2413a203c7dced3230f82cbc2c053872c1a713.tar.gz |
avcodec/avutil: move dynamic HDR10+ metadata parsing to libavutil
Signed-off-by: Raphaël Zumer <rzumer@tebako.net>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/av1dec.c')
-rw-r--r-- | libavcodec/av1dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index 5c14756a57..807852e317 100644 --- a/libavcodec/av1dec.c +++ b/libavcodec/av1dec.c @@ -20,6 +20,7 @@ #include "config_components.h" +#include "libavutil/hdr_dynamic_metadata.h" #include "libavutil/film_grain_params.h" #include "libavutil/mastering_display_metadata.h" #include "libavutil/pixdesc.h" @@ -30,7 +31,6 @@ #include "bytestream.h" #include "codec_internal.h" #include "decode.h" -#include "dynamic_hdr10_plus.h" #include "hwconfig.h" #include "profiles.h" #include "thread.h" @@ -926,8 +926,8 @@ static int export_itut_t35(AVCodecContext *avctx, AVFrame *frame, if (!hdrplus) return AVERROR(ENOMEM); - ret = ff_parse_itu_t_t35_to_dynamic_hdr10_plus(hdrplus, gb.buffer, - bytestream2_get_bytes_left(&gb)); + ret = av_dynamic_hdr_plus_from_t35(hdrplus, gb.buffer, + bytestream2_get_bytes_left(&gb)); if (ret < 0) return ret; break; |