提交 1c3db2aa 编写于 作者: D David Conrad

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

Originally committed as revision 16651 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 8a86aaa3
...@@ -560,6 +560,7 @@ static int mkv_write_tracks(AVFormatContext *s) ...@@ -560,6 +560,7 @@ static int mkv_write_tracks(AVFormatContext *s)
else else
put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, "und"); put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, "und");
if (st->disposition)
put_ebml_uint(pb, MATROSKA_ID_TRACKFLAGDEFAULT, !!(st->disposition & AV_DISPOSITION_DEFAULT)); put_ebml_uint(pb, MATROSKA_ID_TRACKFLAGDEFAULT, !!(st->disposition & AV_DISPOSITION_DEFAULT));
// look for a codec ID string specific to mkv to use, // look for a codec ID string specific to mkv to use,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册