提交 c7168d1a 编写于 作者: M Michael Niedermayer

Merge commit 'fc27e727'

* commit 'fc27e727':
  mpegts: do not export empty language tags
Merged-by: NMichael Niedermayer <michaelni@gmx.at>
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册