diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-03-21 14:35:48 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-03-28 10:16:28 +0200 |
commit | ca2f19b9cc37be509d85f05c8f902860475905f8 (patch) | |
tree | 974be8576221b4068f613b3e23b5c3714968a8ea /libavcodec/h264.h | |
parent | a7829a2a3f8e6ec0b9f2673c11f56916800aeb33 (diff) | |
download | ffmpeg-ca2f19b9cc37be509d85f05c8f902860475905f8.tar.gz |
h264: switch to h2645_parse for NAL parsing
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 3 |
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 */ |