summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-03-21 14:35:48 +0100
committerAnton Khirnov <anton@khirnov.net>2016-03-28 10:16:28 +0200
commitca2f19b9cc37be509d85f05c8f902860475905f8 (patch)
tree974be8576221b4068f613b3e23b5c3714968a8ea /libavcodec/h264.h
parenta7829a2a3f8e6ec0b9f2673c11f56916800aeb33 (diff)
h264: switch to h2645_parse for NAL parsing
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 4c0d434712..a7b1d58e3b 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -34,6 +34,7 @@
#include "error_resilience.h"
#include "get_bits.h"
#include "h264_parse.h"
+#include "h2645_parse.h"
#include "h264chroma.h"
#include "h264dsp.h"
#include "h264pred.h"
@@ -471,6 +472,8 @@ typedef struct H264Context {
H264SliceContext *slice_ctx;
int nb_slice_ctx;
+ H2645Packet pkt;
+
int pixel_shift; ///< 0 for 8-bit H264, 1 for high-bit-depth H264
/* coded dimensions -- 16 * mb w/h */