mirror of https://git.ffmpeg.org/ffmpeg.git
simplify
Originally committed as revision 9258 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2bb486a5e6
commit
b3e104366a
|
@ -552,10 +552,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
|
||||||
|
|
||||||
if (st) {
|
if (st) {
|
||||||
if (language[0] != 0) {
|
if (language[0] != 0) {
|
||||||
st->language[0] = language[0];
|
memcpy(st->language, language, 4);
|
||||||
st->language[1] = language[1];
|
|
||||||
st->language[2] = language[2];
|
|
||||||
st->language[3] = language[3];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stream_type == STREAM_TYPE_SUBTITLE_DVB) {
|
if (stream_type == STREAM_TYPE_SUBTITLE_DVB) {
|
||||||
|
|
Loading…
Reference in New Issue