From 717addecad77d85d329a4b502f4098d4912679d7 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 9 Oct 2012 00:41:34 +0200 Subject: Use proper return values in case of missing features --- libavcodec/eac3dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/eac3dec.c') 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 -- cgit v1.2.3