[FFmpeg-cvslog] indeo: use proper error code

Luca Barbato git at videolan.org
Tue Aug 27 16:38:58 CEST 2013


ffmpeg | branch: release/1.1 | Luca Barbato <lu_zero at gentoo.org> | Sun Jun 30 10:11:05 2013 +0200| [d8dab6c3b85cdf472e50ac96f70a6f5ec51855ba] | committer: Reinhard Tartler

indeo: use proper error code

(cherry picked from commit dd3754a48854cd570d38db72394491aab0f36570)

Signed-off-by: Reinhard Tartler <siretart at tauware.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d8dab6c3b85cdf472e50ac96f70a6f5ec51855ba
---

 libavcodec/ivi_common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c
index 956bbb1..842a53d 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;
     }
 



More information about the ffmpeg-cvslog mailing list