mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
Merge commit 'fc27e7272e6f1a7053812f8a15b1b7098de44c71'
* commit 'fc27e7272e6f1a7053812f8a15b1b7098de44c71': mpegts: do not export empty language tags Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
c7168d1a22
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user