[FFmpeg-cvslog] r24613 - trunk/libavformat/avidec.c

aurel subversion
Sat Jul 31 01:41:12 CEST 2010


Author: aurel
Date: Sat Jul 31 01:41:12 2010
New Revision: 24613

Log:
100l: av_freep() needs the address of the pointer

Modified:
   trunk/libavformat/avidec.c

Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c	Fri Jul 30 23:33:51 2010	(r24612)
+++ trunk/libavformat/avidec.c	Sat Jul 31 01:41:12 2010	(r24613)
@@ -1295,7 +1295,7 @@ static int avi_read_close(AVFormatContex
         AVIStream *ast = st->priv_data;
         av_free(st->codec->palctrl);
         if (ast->sub_ctx) {
-            av_freep(ast->sub_ctx->pb);
+            av_freep(&ast->sub_ctx->pb);
             av_close_input_stream(ast->sub_ctx);
         }
         av_free(ast->sub_buffer);



More information about the ffmpeg-cvslog mailing list