readability cosmetics

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20488 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-10-28 10:59:17 +00:00
parent fb8eec9d28
commit 267ed8021e
1 changed files with 1 additions and 3 deletions

View File

@ -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->payload_size = es->payload_size;
if(is_audio)
lang = pid_lang_from_pmt(priv, es->pid);
if(lang != NULL)
if(is_audio && (lang = pid_lang_from_pmt(priv, es->pid)))
{
memcpy(es->lang, lang, 3);
es->lang[3] = 0;