[vlc-commits] flac demux: don't skip STREAMINFO block twice

Rafaël Carré git at videolan.org
Sun Jun 23 20:20:25 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jun 23 20:19:27 2013 +0200| [28811d45391150b1fa986f7bb567b6a67ca70677] | committer: Rafaël Carré

flac demux: don't skip STREAMINFO block twice

Refs: #8830

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28811d45391150b1fa986f7bb567b6a67ca70677
---

 modules/demux/flac.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/flac.c b/modules/demux/flac.c
index 8860b8e..e6835e4 100644
--- a/modules/demux/flac.c
+++ b/modules/demux/flac.c
@@ -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 )
         {



More information about the vlc-commits mailing list