summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_h265.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-04-15 17:51:49 -0300
committerJames Almer <jamrial@gmail.com>2019-04-16 20:33:10 -0300
commit137c0fcad15139921279038351048970e99838f4 (patch)
tree7b0ac70e5f7f4796d2f883cea017e55ef325ade1 /libavcodec/cbs_h265.h
parent9bf520d04d6137d0772e019356356614bbf7ca82 (diff)
downloadffmpeg-137c0fcad15139921279038351048970e99838f4.tar.gz
avcodec/cbs_h265: fix storage type for time_offset_value in Time Code SEI
The spec defines it as an array of signed values, inferred to 0 when not present. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_h265.h')
-rw-r--r--libavcodec/cbs_h265.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_h265.h b/libavcodec/cbs_h265.h
index d216caca2b..0c0e4f84b0 100644
--- a/libavcodec/cbs_h265.h
+++ b/libavcodec/cbs_h265.h
@@ -659,7 +659,7 @@ typedef struct H265RawSEITimeCode {
uint8_t minutes_flag[3];
uint8_t hours_flag[3];
uint8_t time_offset_length[3];
- uint32_t time_offset_value[3];
+ int32_t time_offset_value[3];
} H265RawSEITimeCode;
typedef struct H265RawSEIMasteringDisplayColourVolume {