summaryrefslogtreecommitdiff
path: root/libavcodec/alsdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-09 00:41:34 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-12 20:56:54 +0200
commit717addecad77d85d329a4b502f4098d4912679d7 (patch)
treea947a67910599b4bc30e26fe2e5726f90664adf3 /libavcodec/alsdec.c
parent9e6ea3cef9927be46973c8e972656b4264f8f1f6 (diff)
Use proper return values in case of missing features
Diffstat (limited to 'libavcodec/alsdec.c')
-rw-r--r--libavcodec/alsdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index 1c3f0cbdb5..ba9f3bba2e 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -427,9 +427,9 @@ static int check_specific_config(ALSDecContext *ctx)
} \
}
- MISSING_ERR(sconf->floating, "Floating point decoding", -1);
- MISSING_ERR(sconf->rlslms, "Adaptive RLS-LMS prediction", -1);
- MISSING_ERR(sconf->chan_sort, "Channel sorting", 0);
+ MISSING_ERR(sconf->floating, "Floating point decoding", AVERROR_PATCHWELCOME);
+ MISSING_ERR(sconf->rlslms, "Adaptive RLS-LMS prediction", AVERROR_PATCHWELCOME);
+ MISSING_ERR(sconf->chan_sort, "Channel sorting", 0);
return error;
}