[FFmpeg-cvslog] r20252 - in trunk/libavcodec: indeo2.c loco.c qdrw.c truemotion2.c ulti.c wnv1.c xl.c

cehoyos subversion
Fri Oct 16 17:16:59 CEST 2009


Author: cehoyos
Date: Fri Oct 16 17:16:59 2009
New Revision: 20252

Log:
Do not try to free memory that was never allocated (partial revert of r20231).

Modified:
   trunk/libavcodec/indeo2.c
   trunk/libavcodec/loco.c
   trunk/libavcodec/qdrw.c
   trunk/libavcodec/truemotion2.c
   trunk/libavcodec/ulti.c
   trunk/libavcodec/wnv1.c
   trunk/libavcodec/xl.c

Modified: trunk/libavcodec/indeo2.c
==============================================================================
--- trunk/libavcodec/indeo2.c	Fri Oct 16 16:50:08 2009	(r20251)
+++ trunk/libavcodec/indeo2.c	Fri Oct 16 17:16:59 2009	(r20252)
@@ -219,7 +219,6 @@ static av_cold int ir2_decode_end(AVCode
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&ic->picture);
 
     return 0;
 }

Modified: trunk/libavcodec/loco.c
==============================================================================
--- trunk/libavcodec/loco.c	Fri Oct 16 16:50:08 2009	(r20251)
+++ trunk/libavcodec/loco.c	Fri Oct 16 17:16:59 2009	(r20252)
@@ -281,7 +281,6 @@ static av_cold int decode_end(AVCodecCon
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&l->pic);
 
     return 0;
 }

Modified: trunk/libavcodec/qdrw.c
==============================================================================
--- trunk/libavcodec/qdrw.c	Fri Oct 16 16:50:08 2009	(r20251)
+++ trunk/libavcodec/qdrw.c	Fri Oct 16 17:16:59 2009	(r20252)
@@ -146,7 +146,6 @@ static av_cold int decode_end(AVCodecCon
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&a->pic);
 
     return 0;
 }

Modified: trunk/libavcodec/truemotion2.c
==============================================================================
--- trunk/libavcodec/truemotion2.c	Fri Oct 16 16:50:08 2009	(r20251)
+++ trunk/libavcodec/truemotion2.c	Fri Oct 16 17:16:59 2009	(r20252)
@@ -866,7 +866,6 @@ static av_cold int decode_end(AVCodecCon
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&l->pic);
 
     return 0;
 }

Modified: trunk/libavcodec/ulti.c
==============================================================================
--- trunk/libavcodec/ulti.c	Fri Oct 16 16:50:08 2009	(r20251)
+++ trunk/libavcodec/ulti.c	Fri Oct 16 17:16:59 2009	(r20252)
@@ -61,7 +61,6 @@ static av_cold int ulti_decode_end(AVCod
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&s->frame);
 
     return 0;
 }

Modified: trunk/libavcodec/wnv1.c
==============================================================================
--- trunk/libavcodec/wnv1.c	Fri Oct 16 16:50:08 2009	(r20251)
+++ trunk/libavcodec/wnv1.c	Fri Oct 16 17:16:59 2009	(r20252)
@@ -149,7 +149,6 @@ static av_cold int decode_end(AVCodecCon
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&l->pic);
 
     return 0;
 }

Modified: trunk/libavcodec/xl.c
==============================================================================
--- trunk/libavcodec/xl.c	Fri Oct 16 16:50:08 2009	(r20251)
+++ trunk/libavcodec/xl.c	Fri Oct 16 17:16:59 2009	(r20252)
@@ -134,7 +134,6 @@ static av_cold int decode_end(AVCodecCon
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&a->pic);
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list