diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-20 23:08:07 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-20 23:08:07 +0000 |
commit | 28f27e0c0c234ead2742510014132803f2511dc7 (patch) | |
tree | 580e1f54d6bcee53c3c33062191c773938c1c7bc /libavformat | |
parent | dc3e0211ed6203aee04473e5aa09aafeaa8ec55c (diff) | |
download | ffmpeg-28f27e0c0c234ead2742510014132803f2511dc7.tar.gz |
matroskadec: fail cleanly when the required compression lib is not compiled in
Originally committed as revision 14870 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 1eb6d585ea..8839654fa2 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; |