[vlc-commits] ogg: Add missing return value

Hugo Beauzée-Luyssen git at videolan.org
Wed Jun 14 15:12:46 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jun 14 15:06:02 2017 +0200| [202fe8aa561e211dd79e0fb86fa8e5678aba9baa] | committer: Hugo Beauzée-Luyssen

ogg: Add missing return value

CID #1412639

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

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

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 46181c3197..b561c804dd 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -789,7 +789,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                 *pi64 = p_sys->i_pcr;
                 return VLC_SUCCESS;
             }
-            break;
+            return VLC_EGENERIC;
 
         case DEMUX_SET_TIME:
             i64 = va_arg( args, int64_t );



More information about the vlc-commits mailing list