[FFmpeg-cvslog] r16651 - trunk/libavformat/matroskaenc.c

conrad subversion
Sat Jan 17 05:31:14 CET 2009


Author: conrad
Date: Sat Jan 17 05:31:14 2009
New Revision: 16651

Log:
Treat disposition==0 as undefined and don't write the default flag

Modified:
   trunk/libavformat/matroskaenc.c

Modified: trunk/libavformat/matroskaenc.c
==============================================================================
--- trunk/libavformat/matroskaenc.c	Sat Jan 17 05:30:36 2009	(r16650)
+++ trunk/libavformat/matroskaenc.c	Sat Jan 17 05:31:14 2009	(r16651)
@@ -560,6 +560,7 @@ static int mkv_write_tracks(AVFormatCont
         else
             put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, "und");
 
+        if (st->disposition)
         put_ebml_uint(pb, MATROSKA_ID_TRACKFLAGDEFAULT, !!(st->disposition & AV_DISPOSITION_DEFAULT));
 
         // look for a codec ID string specific to mkv to use,




More information about the ffmpeg-cvslog mailing list