diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-09 00:41:34 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-12 20:56:54 +0200 |
commit | 717addecad77d85d329a4b502f4098d4912679d7 (patch) | |
tree | a947a67910599b4bc30e26fe2e5726f90664adf3 /libavcodec/mpc8.c | |
parent | 9e6ea3cef9927be46973c8e972656b4264f8f1f6 (diff) | |
download | ffmpeg-717addecad77d85d329a4b502f4098d4912679d7.tar.gz |
Use proper return values in case of missing features
Diffstat (limited to 'libavcodec/mpc8.c')
-rw-r--r-- | libavcodec/mpc8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpc8.c b/libavcodec/mpc8.c index 91e228b07c..0331789bbb 100644 --- a/libavcodec/mpc8.c +++ b/libavcodec/mpc8.c @@ -130,7 +130,7 @@ static av_cold int mpc8_decode_init(AVCodecContext * avctx) channels = get_bits(&gb, 4) + 1; if (channels > 2) { av_log_missing_feature(avctx, "Multichannel MPC SV8", 1); - return -1; + return AVERROR_PATCHWELCOME; } c->MSS = get_bits1(&gb); c->frames = 1 << (get_bits(&gb, 3) * 2); |