]> git.sesse.net Git - vlc/blobdiff - modules/demux/flac.c
flac demux: don't skip STREAMINFO block twice
[vlc] / modules / demux / flac.c
index 8860b8e1c213bcc394dff4162a0e874ef58d3358..e6835e446ee9b8230e04511d3de4c73b61ff9cc4 100644 (file)
@@ -496,6 +496,7 @@ static int  ReadMeta( demux_t *p_demux, uint8_t **pp_streaminfo, int *pi_streami
             ParseStreamInfo( &i_sample_rate, &i_sample_count, *pp_streaminfo );
             if( i_sample_rate > 0 )
                 p_sys->i_length = i_sample_count * INT64_C(1000000)/i_sample_rate;
+            continue;
         }
         else if( i_type == META_SEEKTABLE )
         {