[vlc-commits] stream_filter: skiptags: handle every tags sequences

Francois Cartegnie git at videolan.org
Tue Jul 18 22:12:13 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jul 18 18:30:23 2017 +0200| [5f3cc427a23ac4c2cd28ff4b053611c1e6da27e0] | committer: Francois Cartegnie

stream_filter: skiptags: handle every tags sequences

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

 modules/stream_filter/skiptags.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/stream_filter/skiptags.c b/modules/stream_filter/skiptags.c
index b33966f041..74cb66dba9 100644
--- a/modules/stream_filter/skiptags.c
+++ b/modules/stream_filter/skiptags.c
@@ -142,8 +142,8 @@ static int Open(vlc_object_t *obj)
     stream_t *stream = (stream_t *)obj;
     stream_t *s = stream->p_source;
 
-    while (SkipTag(s, SkipID3Tag));
-    SkipTag(s, SkipAPETag);
+    while (SkipTag(s, SkipID3Tag)||
+           SkipTag(s, SkipAPETag));
 
     uint_fast64_t offset = vlc_stream_Tell(s);
     if (offset == 0)



More information about the vlc-commits mailing list