[SCM] libav/upstream.snapshot: indeo: use proper error code

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sat Jul 13 06:29:06 UTC 2013


The following commit has been merged in the upstream.snapshot branch:
commit d8dab6c3b85cdf472e50ac96f70a6f5ec51855ba
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Sun Jun 30 10:11:05 2013 +0200

    indeo: use proper error code
    
    (cherry picked from commit dd3754a48854cd570d38db72394491aab0f36570)
    
    Signed-off-by: Reinhard Tartler <siretart at tauware.de>

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;
     }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list