From 299544bd0cb9702a499bc37606b45e2d006172d2 Mon Sep 17 00:00:00 2001 From: Wu Jianhua Date: Sun, 27 Apr 2025 19:44:46 +0800 Subject: [PATCH] avcodec/h274: add H274SEIFrameFieldInfo struct Signed-off-by: Wu Jianhua --- libavcodec/h274.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libavcodec/h274.h b/libavcodec/h274.h index 0ca5f0cbab..055dd591d2 100644 --- a/libavcodec/h274.h +++ b/libavcodec/h274.h @@ -81,4 +81,12 @@ int ff_h274_hash_verify(H274HashContext *c, const H274SEIPictureHash *hash, const AVFrame *frame, int coded_width, int coded_height); void ff_h274_hash_freep(H274HashContext **c); +typedef struct H274SEIFrameFieldInfo { + int present; + int picture_struct; + uint8_t display_elemental_periods; + uint8_t source_scan_type; + uint8_t duplicate_flag; +} H274SEIFrameFieldInfo; + #endif /* AVCODEC_H274_H */