diff command.c @ 33577:c111d9e9cfb0

Move init_vo_spudec to mp_common.c and reuse it in mencoder. Fixes bug #1932.
author reimar
date Sun, 19 Jun 2011 16:48:33 +0000
parents c5a19bbeac2b
children 9bb5d229a60b
line wrap: on
line diff
--- a/command.c	Sun Jun 19 16:28:18 2011 +0000
+++ b/command.c	Sun Jun 19 16:48:33 2011 +0000
@@ -1624,7 +1624,7 @@
             if (d_sub->sh && d_sub->id >= 0) {
                 sh_sub_t *sh = d_sub->sh;
                 if (sh->type == 'v')
-                    init_vo_spudec();
+                    init_vo_spudec(mpctx->stream, mpctx->sh_video, sh);
 #ifdef CONFIG_ASS
                 else if (ass_enabled)
                     ass_track = sh->ass_track;