[FFmpeg-soc] [soc]: r881 - dirac/libavcodec/dirac.c

marco subversion at mplayerhq.hu
Thu Aug 16 17:22:23 CEST 2007


Author: marco
Date: Thu Aug 16 17:22:23 2007
New Revision: 881

Log:
use av_freep instead of av_free to release the cached frame

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Thu Aug 16 17:22:23 2007
@@ -2614,7 +2614,7 @@ static int dirac_motion_compensation(Dir
         if (cacheframe[i])
             s->refframes[refidx[i]].halfpel[comp] = s->refdata[i];
         else
-            av_free(s->refdata[i]);
+            av_freep(&s->refdata[i]);
     }
 
     return 0;



More information about the FFmpeg-soc mailing list