summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-13 00:43:25 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-13 00:43:25 +0200
commitad92410d900b985cdabc499f0badaad72dd5ea2d (patch)
tree22dba2b13f99b444fdf03dc6f3ba0ea5ce7b7e37 /libavcodec/hevc.h
parentbcc6c7bb65f3b7adc525de4f7fed6d9648a01b1b (diff)
avcodec/hevc: Move skipped_bytes_pos_nal to HEVCNAL, simplify code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r--libavcodec/hevc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index 1699a2491f..8ae1ace3ac 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -762,6 +762,7 @@ typedef struct HEVCNAL {
int skipped_bytes;
int skipped_bytes_pos_size_nal;
+ int *skipped_bytes_pos_nal;
} HEVCNAL;
/* an input packet split into unescaped NAL units */
@@ -903,8 +904,6 @@ typedef struct HEVCContext {
int *skipped_bytes_pos;
int skipped_bytes_pos_size;
- int **skipped_bytes_pos_nal;
-
const uint8_t *data;
HEVCPacket pkt;