changeset 31610:9e2c61ae171f

Revert and accidentally committed hunk from last commit.
author reimar
date Sat, 10 Jul 2010 18:51:03 +0000
parents cd81fce1f010
children d8408f8f996b
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Sat Jul 10 18:47:59 2010 +0000
+++ b/libmpdemux/demux_mpg.c	Sat Jul 10 18:51:03 2010 +0000
@@ -484,6 +484,8 @@
 
         if(demux->sub->id > -1)
           demux->sub->id &= 0x1F;
+        if(!dvdsub_lang && demux->sub->id == -1)
+          demux->sub->id = aid;
         if(demux->sub->id==aid){
             ds=demux->sub;
         }