This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
mpegts: do not export empty language tags
Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n2.4
Jan Gerber
Anton Khirnov
11 years ago
parent
4d2d0595cf
commit
fc27e7272e
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/mpegts.c
+ 1
- 1
libavformat/mpegts.c
View File
@@ -1412,7 +1412,7 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type
break;
break;
}
}
}
}
if (i) {
if (i
&& language[0]
) {
language[i - 1] = 0;
language[i - 1] = 0;
av_dict_set(&st->metadata, "language", language, 0);
av_dict_set(&st->metadata, "language", language, 0);
}
}
Write
Preview
Loading…
Cancel
Save