Ticket #835: patch-ts

File patch-ts, 417 bytes (added by svs@…, 19 years ago)

proposed fix

Line 
1Index: libmpdemux/demux_ts.c
2===================================================================
3--- libmpdemux/demux_ts.c (revision 23418)
4+++ libmpdemux/demux_ts.c (working copy)
5@@ -697,7 +697,7 @@
6 if(! chosen_pid)
7 continue;
8 }
9- else if(param->alang[0] > 0)
10+ else if(param->alang[0] > 0 && es.lang[0] > 0)
11 {
12 if(pid_match_lang(priv, es.pid, param->alang) == -1)
13 continue;