]> git.sesse.net Git - vlc/blobdiff - modules/codec/spudec/parse.c
realaudio: use VLC_TS_INVALID (refs #3135)
[vlc] / modules / codec / spudec / parse.c
index c61674ae83fc6f506ce1e1830c562b73b1a1d12a..5287272b977263abb80753d411ddc710f089f2c2 100644 (file)
@@ -161,7 +161,7 @@ static int ParseControlSeq( decoder_t *p_dec, subpicture_t *p_spu,
     decoder_sys_t *p_sys = p_dec->p_sys;
 
     /* Our current index in the SPU packet */
-    unsigned int i_index = p_sys->i_rle_size + 4;
+    unsigned int i_index;
 
     /* The next start-of-control-sequence index and the previous one */
     unsigned int i_next_seq = 0, i_cur_seq = 0;