summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_h264.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-04-15 17:50:01 -0300
committerJames Almer <jamrial@gmail.com>2019-04-16 20:32:43 -0300
commit9bf520d04d6137d0772e019356356614bbf7ca82 (patch)
treebccd1dd0b4241a24a13b698ae611e1fb6bdc27b2 /libavcodec/cbs_h264.h
parent3dc6adf326c8cd6c7fc830ccb8def8772835c676 (diff)
downloadffmpeg-9bf520d04d6137d0772e019356356614bbf7ca82.tar.gz
avcodec/cbs_h264: fix storage type for time_offset in Pic Timing SEI
The spec defines it as a signed value. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_h264.h')
-rw-r--r--libavcodec/cbs_h264.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_h264.h b/libavcodec/cbs_h264.h
index 92277e4750..b5eee7c370 100644
--- a/libavcodec/cbs_h264.h
+++ b/libavcodec/cbs_h264.h
@@ -253,7 +253,7 @@ typedef struct H264RawSEIPicTimestamp {
uint8_t minutes_value;
uint8_t hours_flag;
uint8_t hours_value;
- uint32_t time_offset;
+ int32_t time_offset;
} H264RawSEIPicTimestamp;
typedef struct H264RawSEIPicTiming {