]> git.sesse.net Git - vlc/commitdiff
* modules/mux/asf.c: fixed a bug I introduced in my last commit.
authorGildas Bazin <gbazin@videolan.org>
Wed, 1 Sep 2004 14:07:45 +0000 (14:07 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 1 Sep 2004 14:07:45 +0000 (14:07 +0000)
modules/mux/asf.c

index 8a7f49bb3262e8a0d50027dab2af4f4153069498..0093a8b3419adf3633a7403befacb9425a0d3ada 100644 (file)
@@ -5,6 +5,7 @@
  * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
+ *          Gildas Bazin <gbazin@videolan.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -323,7 +324,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
     }
 
     tk = p_input->p_sys = &p_sys->track[p_sys->i_track];
-    tk->i_id  = p_sys->i_track;
+    tk->i_id  = p_sys->i_track + 1;
     tk->i_cat = p_input->p_fmt->i_cat;
     tk->i_sequence = 0;