diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-12-05 21:17:00 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-04-29 14:49:42 +0200 |
commit | c1f92d13589d431e576d719dd44427486a5e05cd (patch) | |
tree | 98980c85671bcb0daa859e579196fddb123206ee /libavcodec | |
parent | 6a13505c069890cb0e2a07e29fd819a0cf2e73c1 (diff) | |
download | ffmpeg-streaming-c1f92d13589d431e576d719dd44427486a5e05cd.zip ffmpeg-streaming-c1f92d13589d431e576d719dd44427486a5e05cd.tar.gz |
mpegvideo: remove unused MpegEncContext.b4_stride
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo.c | 1 | ||||
-rw-r--r-- | libavcodec/mpegvideo.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 3363ea0..f7f95a7 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1064,7 +1064,6 @@ static int init_context_frame(MpegEncContext *s) s->mb_width = (s->width + 15) / 16; s->mb_stride = s->mb_width + 1; s->b8_stride = s->mb_width * 2 + 1; - s->b4_stride = s->mb_width * 4 + 1; mb_array_size = s->mb_height * s->mb_stride; mv_table_size = (s->mb_height + 2) * s->mb_stride + 1; diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index a879187..179df3b 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -249,7 +249,6 @@ typedef struct MpegEncContext { int mb_width, mb_height; ///< number of MBs horizontally & vertically int mb_stride; ///< mb_width+1 used for some arrays to allow simple addressing of left & top MBs without sig11 int b8_stride; ///< 2*mb_width+1 used for some 8x8 block arrays to allow simple addressing - int b4_stride; ///< 4*mb_width+1 used for some 4x4 block arrays to allow simple addressing int h_edge_pos, v_edge_pos;///< horizontal / vertical position of the right/bottom edge (pixel replication) int mb_num; ///< number of MBs of a picture ptrdiff_t linesize; ///< line size, in bytes, may be different from width |