diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-07-09 18:11:44 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-07-12 18:15:39 +0200 |
commit | ae05b4865514fd71b5e9431e93aa0d03d7ba7751 (patch) | |
tree | 7f8f603e547d85f5f198172dc835041c563782b6 /libavcodec/hevc.h | |
parent | d7bebe4805193783f0b6f292f9127a75709fb7d9 (diff) | |
download | ffmpeg-ae05b4865514fd71b5e9431e93aa0d03d7ba7751.tar.gz |
hevc: eliminate the second call to hls_nal_unit()
Also, make hls_nal_unit() work only on the provided NAL unit, without
requiring a whole decoding context.
This will allow splitting this code for reuse by the parser.
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index 32c9dc3834..41b88dbfa8 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -711,6 +711,11 @@ typedef struct HEVCNAL { int raw_size; const uint8_t *raw_data; + + GetBitContext gb; + + enum NALUnitType type; + int temporal_id; } HEVCNAL; struct HEVCContext; |