aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-08-20 23:08:07 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-08-20 23:08:07 +0000
commit28f27e0c0c234ead2742510014132803f2511dc7 (patch)
tree580e1f54d6bcee53c3c33062191c773938c1c7bc /libavformat
parentdc3e0211ed6203aee04473e5aa09aafeaa8ec55c (diff)
downloadffmpeg-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.c2
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;