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

spyfeng subversion at mplayerhq.hu
Sat Jul 19 08:32:01 CEST 2008


Author: spyfeng
Date: Sat Jul 19 08:32:00 2008
New Revision: 2825

Log:
change the way to aasignment for var "ref" in function mxf_write_package()


Modified:
   mxf/mxfenc.c

Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c	(original)
+++ mxf/mxfenc.c	Sat Jul 19 08:32:00 2008
@@ -465,7 +465,7 @@ static int mxf_write_package(AVFormatCon
     klv_encode_ber_length(pb, 92 + 16 * s->nb_streams);
 
     // write uid
-    ref = type == MaterialPackage ? refs->package : & refs->package[1];
+    ref = &refs->package[type == SourcePackage];
     mxf_write_local_tag(pb, 16, 0x3C0A);
     put_buffer(pb, *ref, 16);
 



More information about the FFmpeg-soc mailing list