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

spyfeng subversion at mplayerhq.hu
Sun Jul 20 16:36:03 CEST 2008


Author: spyfeng
Date: Sun Jul 20 16:36:03 2008
New Revision: 2833

Log:
fix bug for if condition


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Sun Jul 20 16:36:03 2008
@@ -512,7 +512,7 @@ static int mxf_write_package(AVFormatCon
     if (!refs->sequence)
         return -1;
     refs->structural_component = av_mallocz(s->nb_streams * sizeof(*refs->structural_component));
-    if (refs->structural_component)
+    if (!refs->structural_component)
         return -1;
 
     // malloc memory for track number sign



More information about the FFmpeg-soc mailing list