From ca2f19b9cc37be509d85f05c8f902860475905f8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 21 Mar 2016 14:35:48 +0100 Subject: h264: switch to h2645_parse for NAL parsing --- libavcodec/h264.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/h264.h') diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 4c0d434..a7b1d58 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 */ -- cgit v1.1