1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avformat/flvdec: Use float for FLVMasteringMeta

The precision should be enough for primaries and luminance.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
This commit is contained in:
Zhao Zhili
2025-03-11 10:35:23 +08:00
parent 888f5ea72b
commit 291fdc96ab

View File

@ -47,16 +47,16 @@
#define MAX_DEPTH 16 ///< arbitrary limit to prevent unbounded recursion #define MAX_DEPTH 16 ///< arbitrary limit to prevent unbounded recursion
typedef struct FLVMasteringMeta { typedef struct FLVMasteringMeta {
double r_x; float r_x;
double r_y; float r_y;
double g_x; float g_x;
double g_y; float g_y;
double b_x; float b_x;
double b_y; float b_y;
double white_x; float white_x;
double white_y; float white_y;
double max_luminance; float max_luminance;
double min_luminance; float min_luminance;
} FLVMasteringMeta; } FLVMasteringMeta;
typedef struct FLVMetaVideoColor { typedef struct FLVMetaVideoColor {