]> git.sesse.net Git - vlc/blobdiff - modules/mux/ogg.c
skins2: back to working order after latest change in xml design
[vlc] / modules / mux / ogg.c
index a2de8607e32aba42a985b140998c510cd0833f76..044ddc7e532af3e2c080ac27a25e3382d9c77dee 100644 (file)
@@ -990,6 +990,8 @@ static int MuxBlock( sout_mux_t *p_mux, sout_input_t *p_input )
         /* granulepos is in millisec */
         op.granulepos = ( p_data->i_dts - p_sys->i_start_dts ) / 1000;
     }
+    else
+        return VLC_EGENERIC;
 
     p_stream->u_last_granulepos = op.granulepos;
     ogg_stream_packetin( &p_stream->os, &op );