summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2006-07-01 03:19:28 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2006-07-01 03:19:28 +0000
commita34c26cc3d40a728f769c43ce8fccfeef06152fb (patch)
tree8e7235318ab88b97f3c6c139df7cdc3b4dfe6dc9 /libavcodec/vc1.c
parent0f7344aad964be2c98a7e6012d57e5551423c127 (diff)
Remove unused variable (and it wasn't free'd too)
Originally committed as revision 5562 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index c145e891f5..4c7d6780db 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -307,7 +307,6 @@ typedef struct VC1Context{
*/
uint8_t mvrange;
uint8_t pquantizer; ///< Uniform (over sequence) quantizer in use
- uint8_t *previous_line_cbpcy; ///< To use for predicted CBPCY
VLC *cbpcy_vlc; ///< CBPCY VLC table
int tt_index; ///< Index for Transform Type tables
uint8_t* mv_type_mb_plane; ///< bitplane for mv_type == (4MV)
@@ -2519,10 +2518,6 @@ static int vc1_decode_init(AVCodecContext *avctx)
/* Allocate mb bitplanes */
v->mv_type_mb_plane = av_malloc(s->mb_stride * s->mb_height);
- /* For predictors */
- v->previous_line_cbpcy = (uint8_t *)av_malloc(s->mb_stride*4);
- if (!v->previous_line_cbpcy) return -1;
-
/* Init coded blocks info */
if (v->profile == PROFILE_ADVANCED)
{