[SCM] libav/experimental: av_free -> av_freep

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:46:58 UTC 2013


The following commit has been merged in the experimental branch:
commit e7c8206e5c4ee83eccb487583331fb39ba73a136
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Sat Mar 11 00:19:32 2006 +0000

    av_free -> av_freep
    
    Originally committed as revision 5145 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 58560e9..876491c 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -573,12 +573,12 @@ static void slice_buffer_destroy(slice_buffer * buf)
     for (i = buf->data_count - 1; i >= 0; i--)
     {
         assert(buf->data_stack[i]);
-        av_free(buf->data_stack[i]);
+        av_freep(&buf->data_stack[i]);
     }
     assert(buf->data_stack);
-    av_free(buf->data_stack);
+    av_freep(&buf->data_stack);
     assert(buf->line);
-    av_free(buf->line);
+    av_freep(&buf->line);
 }
 
 #ifdef __sgi

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list