Commit c7168d1a authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'fc27e727'

* commit 'fc27e727':
  mpegts: do not export empty language tags
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 70f7006e fc27e727
......@@ -1674,7 +1674,7 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type
break;
}
}
if (i) {
if (i && language[0]) {
language[i - 1] = 0;
av_dict_set(&st->metadata, "language", language, 0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment