]> git.sesse.net Git - vlc/blobdiff - modules/codec/fluidsynth.c
Added helpers to create text subpicture.
[vlc] / modules / codec / fluidsynth.c
index 129aab87ad34b06bdfb813a1f91b48191348d81e..6d1e3562f68f9fe0778eb58e07eaefa53a0cb939 100644 (file)
@@ -238,7 +238,7 @@ static aout_buffer_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block)
     unsigned samples =
         (p_block->i_pts - date_Get (&p_sys->end_date)) * 441 / 10000;
     if (samples == 0)
-        return NULL;
+        goto drop;
 
     p_out = decoder_NewAudioBuffer (p_dec, samples);
     if (p_out == NULL)