diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-26 14:09:52 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-04-26 14:27:35 +0100 |
commit | 79aafd43fd255fc04e4f4db4c45d6d1f5a9b9fff (patch) | |
tree | 2d38d298ccd047ed2effd37b4ab3af3b988c37f8 /libavcodec/h2645_parse.h | |
parent | 438ed974b832634c544facaf6de3a23e9e7d774a (diff) | |
parent | 90ed6c5cf7f236bc9efb47c97b40358c666d1386 (diff) | |
download | ffmpeg-79aafd43fd255fc04e4f4db4c45d6d1f5a9b9fff.tar.gz |
Merge commit '90ed6c5cf7f236bc9efb47c97b40358c666d1386'
* commit '90ed6c5cf7f236bc9efb47c97b40358c666d1386':
h2645_parse: compute the actual data length, without trailing paddding
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/h2645_parse.h')
-rw-r--r-- | libavcodec/h2645_parse.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/h2645_parse.h b/libavcodec/h2645_parse.h index ce889dbb71..3619192514 100644 --- a/libavcodec/h2645_parse.h +++ b/libavcodec/h2645_parse.h @@ -33,6 +33,12 @@ typedef struct H2645NAL { int size; const uint8_t *data; + /** + * Size, in bits, of just the data, excluding the stop bit and any trailing + * padding. I.e. what HEVC calls SODB. + */ + int size_bits; + int raw_size; const uint8_t *raw_data; |