Mercurial > mplayer.hg
changeset 20472:e7474c33f072
readability cosmetics
author | nicodvb |
---|---|
date | Sat, 28 Oct 2006 10:59:17 +0000 |
parents | 0398b9cbd66d |
children | 6ebbcbeae8c1 |
files | libmpdemux/demux_ts.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c Sat Oct 28 10:52:12 2006 +0000 +++ b/libmpdemux/demux_ts.c Sat Oct 28 10:59:17 2006 +0000 @@ -2882,9 +2882,7 @@ 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;