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
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to