aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ivi_common.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-06-30 10:11:05 +0200
committerReinhard Tartler <siretart@tauware.de>2013-07-06 15:06:31 +0200
commitd8dab6c3b85cdf472e50ac96f70a6f5ec51855ba (patch)
treea272b059fcc94f7002d6e00f86ecb491afaa4d81 /libavcodec/ivi_common.c
parentc8fb5d0f383fcbb0da9bdef609c3a826df0064f7 (diff)
downloadffmpeg-d8dab6c3b85cdf472e50ac96f70a6f5ec51855ba.tar.gz
indeo: use proper error code
(cherry picked from commit dd3754a48854cd570d38db72394491aab0f36570) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/ivi_common.c')
-rw-r--r--libavcodec/ivi_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c
index 956bbb162a..842a53d052 100644
--- a/libavcodec/ivi_common.c
+++ b/libavcodec/ivi_common.c
@@ -837,7 +837,7 @@ int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
return AVERROR_INVALIDDATA;
if (ctx->gop_flags & IVI5_IS_PROTECTED) {
- avpriv_report_missing_feature(avctx, "Password-protected clip!\n");
+ av_log(avctx, AV_LOG_ERROR, "Password-protected clip!\n");
return AVERROR_PATCHWELCOME;
}