aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2011-02-08 14:16:49 +0200
committerMans Rullgard <mans@mansr.com>2011-02-08 17:49:35 +0000
commitae2104791ffa8466d3f6972ed0793b2a165daabe (patch)
treeb7166b709bb0a147c2b425f8bd1fae605ea074ff /libavcodec/vc1.c
parent7ab8758baf743b3d525c07a770e13038b0885461 (diff)
downloadffmpeg-ae2104791ffa8466d3f6972ed0793b2a165daabe.tar.gz
logging: downgrade recoverable errors to warnings
In all 3 cases, the decoding continues and thus a warning would be sufficient. Helps application that catch them with own log handers to handle them accordingly. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 86904cbffd..1f39878293 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -293,7 +293,7 @@ int vc1_decode_sequence_header(AVCodecContext *avctx, VC1Context *v, GetBitConte
v->profile = get_bits(gb, 2);
if (v->profile == PROFILE_COMPLEX)
{
- av_log(avctx, AV_LOG_ERROR, "WMV3 Complex Profile is not fully supported\n");
+ av_log(avctx, AV_LOG_WARNING, "WMV3 Complex Profile is not fully supported\n");
}
if (v->profile == PROFILE_ADVANCED)