]> git.sesse.net Git - vlc/blobdiff - modules/codec/vorbis.c
* include/vlc_config.h: backport of #11279.
[vlc] / modules / codec / vorbis.c
index 3b256c0c9baef110fc38135f722ae330cd3241ef..0bfc3faa17298f1af41538b721345de36eac802d 100644 (file)
@@ -141,7 +141,7 @@ static block_t *Encode   ( encoder_t *, aout_buffer_t * );
   "Allows you to force a constant bitrate encoding (CBR)." )
 
 vlc_module_begin();
-
+    set_shortname( "Vorbis" );
     set_description( _("Vorbis audio decoder") );
 #ifdef MODULE_NAME_IS_tremor
     set_capability( "decoder", 90 );
@@ -207,6 +207,7 @@ static int OpenDecoder( vlc_object_t *p_this )
 
     /* Misc init */
     aout_DateSet( &p_sys->end_date, 0 );
+    p_sys->i_last_block_size = 0;
     p_sys->b_packetizer = VLC_FALSE;
     p_sys->i_headers = 0;