changeset 10413:8a137661f31e libavcodec

Do not try to free memory that was never allocated (partial revert of r20231).
author cehoyos
date Fri, 16 Oct 2009 15:16:59 +0000
parents 9d31db7bec63
children 41bd795ae40b
files indeo2.c loco.c qdrw.c truemotion2.c ulti.c wnv1.c xl.c
diffstat 7 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/indeo2.c	Fri Oct 16 14:50:08 2009 +0000
+++ b/indeo2.c	Fri Oct 16 15:16:59 2009 +0000
@@ -219,7 +219,6 @@
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&ic->picture);
 
     return 0;
 }
--- a/loco.c	Fri Oct 16 14:50:08 2009 +0000
+++ b/loco.c	Fri Oct 16 15:16:59 2009 +0000
@@ -281,7 +281,6 @@
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&l->pic);
 
     return 0;
 }
--- a/qdrw.c	Fri Oct 16 14:50:08 2009 +0000
+++ b/qdrw.c	Fri Oct 16 15:16:59 2009 +0000
@@ -146,7 +146,6 @@
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&a->pic);
 
     return 0;
 }
--- a/truemotion2.c	Fri Oct 16 14:50:08 2009 +0000
+++ b/truemotion2.c	Fri Oct 16 15:16:59 2009 +0000
@@ -866,7 +866,6 @@
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&l->pic);
 
     return 0;
 }
--- a/ulti.c	Fri Oct 16 14:50:08 2009 +0000
+++ b/ulti.c	Fri Oct 16 15:16:59 2009 +0000
@@ -61,7 +61,6 @@
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&s->frame);
 
     return 0;
 }
--- a/wnv1.c	Fri Oct 16 14:50:08 2009 +0000
+++ b/wnv1.c	Fri Oct 16 15:16:59 2009 +0000
@@ -149,7 +149,6 @@
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&l->pic);
 
     return 0;
 }
--- a/xl.c	Fri Oct 16 14:50:08 2009 +0000
+++ b/xl.c	Fri Oct 16 15:16:59 2009 +0000
@@ -134,7 +134,6 @@
 
     if (pic->data[0])
         avctx->release_buffer(avctx, pic);
-    av_freep(&a->pic);
 
     return 0;
 }