aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/eac3dec.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/eac3dec.c
parent9e6ea3cef9927be46973c8e972656b4264f8f1f6 (diff)
downloadffmpeg-717addecad77d85d329a4b502f4098d4912679d7.tar.gz
Use proper return values in case of missing features
Diffstat (limited to 'libavcodec/eac3dec.c')
-rw-r--r--libavcodec/eac3dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eac3dec.c b/libavcodec/eac3dec.c
index 7072f783e4..626698839d 100644
--- a/libavcodec/eac3dec.c
+++ b/libavcodec/eac3dec.c
@@ -322,7 +322,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
handled like AC-3 DolbyNet, but we cannot be sure until we have a
sample which utilizes this feature. */
av_log_missing_feature(s->avctx, "Reduced sampling rates", 1);
- return -1;
+ return AVERROR_PATCHWELCOME;
}
skip_bits(gbc, 5); // skip bitstream id