matroskadec: fail cleanly when the required compression lib is not compiled in

Originally committed as revision 14870 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2008-08-20 23:08:07 +00:00
parent dc3e0211ed
commit 28f27e0c0c

View File

@ -919,6 +919,8 @@ static int matroska_decode_buffer(uint8_t** buf, int* buf_size,
break;
}
#endif
default:
return -1;
}
*buf = pkt_data;