[xiph-commits] r16153 - trunk/xiph-qt/OggExport/src

arek at svn.xiph.org arek at svn.xiph.org
Sun Jun 21 10:28:50 PDT 2009


Author: arek
Date: 2009-06-21 10:28:50 -0700 (Sun, 21 Jun 2009)
New Revision: 16153

Modified:
   trunk/xiph-qt/OggExport/src/OggExport.c
Log:
Initialize 'media' before using.

Modified: trunk/xiph-qt/OggExport/src/OggExport.c
===================================================================
--- trunk/xiph-qt/OggExport/src/OggExport.c	2009-06-21 17:16:36 UTC (rev 16152)
+++ trunk/xiph-qt/OggExport/src/OggExport.c	2009-06-21 17:28:50 UTC (rev 16153)
@@ -708,7 +708,7 @@
 
         if (!err && globals->setdlg_movie != NULL) {
             SoundDescriptionHandle sdh = (SoundDescriptionHandle) NewHandle(0);
-            Media media;
+            Media media = NULL;
             Track track = globals->setdlg_track;
             if (track == NULL)
                 track = GetMovieIndTrackType(globals->setdlg_movie, 1, AudioMediaCharacteristic,



More information about the commits mailing list