aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-23 01:19:48 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-23 01:19:48 +0100
commit3616afced6f308d8b4b9ca67e8254dfa55c35e49 (patch)
tree43d99a558f21954e4c0367b19d23ad51ef497e16 /libavformat
parent2fc0cbd9a62bac4f383f4655476c53ce6d68ce5a (diff)
downloadffmpeg-3616afced6f308d8b4b9ca67e8254dfa55c35e49.tar.gz
rmdec: fix av_log level and context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index ffc6e5be4d..bcfff41422 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -271,7 +271,7 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVIOContext *pb,
case DEINT_ID_VBRF:
break;
default:
- av_log(NULL,0,"Unknown interleaver %X\n", ast->deint_id);
+ av_log(s, AV_LOG_ERROR, "Unknown interleaver %X\n", ast->deint_id);
return AVERROR_INVALIDDATA;
}