diff options
author | Alexandra Hájková <alexandra@khirnov.net> | 2016-04-10 11:44:20 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-01-31 17:54:11 +0100 |
commit | 2d72219554adb09bc3ba044ac3e579a84550067b (patch) | |
tree | 2f2980810a7cb85f1bca11e6f586690e7adcce9f /libavcodec/mpegvideo.h | |
parent | 2b94ed12de7b6b7f444ed67e1a7068141af3d4ff (diff) | |
download | ffmpeg-2d72219554adb09bc3ba044ac3e579a84550067b.tar.gz |
h261dec: Convert to the new bitstream reader
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index f096b8a0fa..5d8c31ce02 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -31,6 +31,7 @@ #include <float.h> #include "avcodec.h" +#include "bitstream.h" #include "blockdsp.h" #include "error_resilience.h" #include "fdctdsp.h" @@ -344,6 +345,7 @@ typedef struct MpegEncContext { int resync_mb_x; ///< x position of last resync marker int resync_mb_y; ///< y position of last resync marker GetBitContext last_resync_gb; ///< used to search for the next resync marker + BitstreamContext last_resync_bc; ///< used to search for the next resync marker int mb_num_left; ///< number of MBs left in this video packet (for partitioned Slices only) int next_p_frame_damaged; ///< set if the next p frame is damaged, to avoid showing trashed B-frames @@ -428,6 +430,7 @@ typedef struct MpegEncContext { /* decompression specific */ GetBitContext gb; + BitstreamContext bc; /* MPEG-1 specific */ int gop_picture_number; ///< index of the first picture of a GOP based on fake_pic_num & MPEG-1 specific |