[FFmpeg-cvslog] rmdec: fix av_log level and context

Michael Niedermayer git at videolan.org
Fri Nov 23 01:24:34 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 23 01:19:48 2012 +0100| [3616afced6f308d8b4b9ca67e8254dfa55c35e49] | committer: Michael Niedermayer

rmdec: fix av_log level and context

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/rmdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index ffc6e5b..bcfff41 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;
         }
 



More information about the ffmpeg-cvslog mailing list