mirror of https://github.com/mpv-player/mpv
readability cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20488 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fb8eec9d28
commit
267ed8021e
|
@ -2882,9 +2882,7 @@ static int ts_parse(demuxer_t *demuxer , ES_stream_t *es, unsigned char *packet,
|
||||||
tss->is_synced |= es->is_synced || rap_flag;
|
tss->is_synced |= es->is_synced || rap_flag;
|
||||||
tss->payload_size = es->payload_size;
|
tss->payload_size = es->payload_size;
|
||||||
|
|
||||||
if(is_audio)
|
if(is_audio && (lang = pid_lang_from_pmt(priv, es->pid)))
|
||||||
lang = pid_lang_from_pmt(priv, es->pid);
|
|
||||||
if(lang != NULL)
|
|
||||||
{
|
{
|
||||||
memcpy(es->lang, lang, 3);
|
memcpy(es->lang, lang, 3);
|
||||||
es->lang[3] = 0;
|
es->lang[3] = 0;
|
||||||
|
|
Loading…
Reference in New Issue