[vlc-commits] speex: fix switch fall through

Rémi Denis-Courmont git at videolan.org
Sat Mar 2 20:29:57 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar  2 21:22:01 2019 +0200| [52d00c67ca91bc85a32c867bb2e6c9eebab9b6a4] | committer: Rémi Denis-Courmont

speex: fix switch fall through

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

 modules/codec/speex.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/speex.c b/modules/codec/speex.c
index 03db7e4d7b..678244b230 100644
--- a/modules/codec/speex.c
+++ b/modules/codec/speex.c
@@ -821,6 +821,7 @@ static block_t *DecodePacket( decoder_t *p_dec, ogg_packet *p_oggpacket )
         {
             case -2:
                 msg_Err( p_dec, "decoding error: corrupted stream?" );
+                /* fall through */
             case -1: /* End of stream */
                 return NULL;
         }



More information about the vlc-commits mailing list