From 28f27e0c0c234ead2742510014132803f2511dc7 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Wed, 20 Aug 2008 23:08:07 +0000 Subject: [PATCH] matroskadec: fail cleanly when the required compression lib is not compiled in Originally committed as revision 14870 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroskadec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 1eb6d585ea2..8839654fa25 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -919,6 +919,8 @@ static int matroska_decode_buffer(uint8_t** buf, int* buf_size, break; } #endif + default: + return -1; } *buf = pkt_data; -- 2.39.2