Browse Source

Set the language to undefined if no language specified

Originally committed as revision 10345 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
David Conrad 18 years ago
parent
commit
fd150eb629
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/matroskaenc.c

+ 2
- 0
libavformat/matroskaenc.c View File

@@ -435,6 +435,8 @@ static int mkv_write_tracks(AVFormatContext *s)

if (st->language[0])
put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, st->language);
else
put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, "und");

// look for a codec id string specific to mkv to use, if none are found, use AVI codes
for (j = 0; ff_mkv_codec_tags[j].id != CODEC_ID_NONE; j++) {


Loading…
Cancel
Save