[MPlayer-cvslog] r26046 - trunk/libmpdemux/demux_lavf.c

eugeni subversion at mplayerhq.hu
Thu Feb 21 10:47:03 CET 2008


Author: eugeni
Date: Thu Feb 21 10:47:03 2008
New Revision: 26046

Log:
Fix r26032: wrong sub stream id assigned to dvdsub_id.


Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	(original)
+++ trunk/libmpdemux/demux_lavf.c	Thu Feb 21 10:47:03 2008
@@ -438,7 +438,7 @@ static void handle_stream(demuxer_t *dem
             if (demuxer->sub->id == -1
                 || (demuxer->sub->id == -2 && (dvdsub_lang && st->language[0] && !strncmp(dvdsub_lang, st->language, 3)))
                 || demuxer->sub->id == priv->sub_streams) {
-                dvdsub_id = i;
+                dvdsub_id = priv->sub_streams;
                 demuxer->sub->id = priv->sub_streams;
                 demuxer->sub->sh = sh_sub;
             }



More information about the MPlayer-cvslog mailing list