[FFmpeg-soc] [soc]: r2935 - mxf/mxfenc.c

spyfeng subversion at mplayerhq.hu
Wed Jul 30 18:20:09 CEST 2008


Author: spyfeng
Date: Wed Jul 30 18:20:09 2008
New Revision: 2935

Log:
modify type error for if condition.


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Wed Jul 30 18:20:09 2008
@@ -252,7 +252,7 @@ static int mxf_generate_reference(AVForm
     int i;
     UID *p;
     *refs = av_mallocz(ref_count * sizeof(UID));
-    if (!refs)
+    if (!*refs)
         return AVERROR(ENOMEM);
     p = *refs;
     for (i = 0; i < ref_count; i++) {



More information about the FFmpeg-soc mailing list