diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-09 02:41:34 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-12 22:56:54 +0400 |
commit | 717addecad77d85d329a4b502f4098d4912679d7 (patch) | |
tree | a947a67910599b4bc30e26fe2e5726f90664adf3 /libavcodec/flacdec.c | |
parent | 9e6ea3cef9927be46973c8e972656b4264f8f1f6 (diff) |
Use proper return values in case of missing features
Diffstat (limited to 'libavcodec/flacdec.c')
-rw-r--r-- | libavcodec/flacdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index f3f1b3a283..b39feb679b 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -372,7 +372,7 @@ static inline int decode_subframe(FLACContext *s, int channel) } if (bps > 32) { av_log_missing_feature(s->avctx, "decorrelated bit depth > 32", 0); - return -1; + return AVERROR_PATCHWELCOME; } //FIXME use av_log2 for types |