[Ffmpeg-cvslog] r5562 - trunk/libavcodec/vc1.c

kostya subversion
Sat Jul 1 05:19:29 CEST 2006


Author: kostya
Date: Sat Jul  1 05:19:28 2006
New Revision: 5562

Modified:
   trunk/libavcodec/vc1.c

Log:
Remove unused variable (and it wasn't free'd too)


Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c	(original)
+++ trunk/libavcodec/vc1.c	Sat Jul  1 05:19:28 2006
@@ -307,7 +307,6 @@
      */
     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 @@
     /* 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)
     {




More information about the ffmpeg-cvslog mailing list