[vlc-commits] inflate: fix typing mistake

Rémi Denis-Courmont git at videolan.org
Sat Oct 8 00:06:16 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct  8 01:04:31 2016 +0300| [61d8ab8f841b35c34ece55ce6cd27e8d26d63e87] | committer: Rémi Denis-Courmont

inflate: fix typing mistake

Pointed-out-by: Ilkka Ollakka <ileoo at videolan.org>

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

 modules/stream_filter/inflate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_filter/inflate.c b/modules/stream_filter/inflate.c
index 2e4f166..d262eb7 100644
--- a/modules/stream_filter/inflate.c
+++ b/modules/stream_filter/inflate.c
@@ -160,7 +160,7 @@ static int Open(vlc_object_t *obj)
     if ((peek[0] & 0xF) == 8 && (peek[0] >> 4) < 8 && (U16_AT(peek) % 31) == 0)
         bits = 15; /* zlib */
     else
-    if (!memcmp(peek, "\x1F\x08B", 2))
+    if (!memcmp(peek, "\x1F\x8B", 2))
         bits = 15 + 32; /* gzip */
     else
         return VLC_EGENERIC;



More information about the vlc-commits mailing list