[FFmpeg-cvslog] escape130: give all av_log() a context

Michael Niedermayer git at videolan.org
Thu Dec 8 18:44:36 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Dec  8 13:48:24 2011 +0100| [f7da12350ea82ad7193bc593b83b38607a8f4c40] | committer: Michael Niedermayer

escape130: give all av_log() a context

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

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

 libavcodec/escape130.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/escape130.c b/libavcodec/escape130.c
index e3722c5..be5327c 100644
--- a/libavcodec/escape130.c
+++ b/libavcodec/escape130.c
@@ -151,7 +151,7 @@ static int escape130_decode_frame(AVCodecContext *avctx,
     old_cb_stride = s->frame.linesize[1];
     old_cr_stride = s->frame.linesize[2];
 
-    av_log(NULL, AV_LOG_DEBUG,
+    av_log(avctx, AV_LOG_DEBUG,
            "Strides: %i, %i\n",
            new_y_stride, new_cb_stride);
 
@@ -296,7 +296,7 @@ static int escape130_decode_frame(AVCodecContext *avctx,
         skip--;
     }
 
-    av_log(NULL, AV_LOG_DEBUG,
+    av_log(avctx, AV_LOG_DEBUG,
            "Escape sizes: %i, %i\n",
            buf_size, get_bits_count(&gb) / 8);
 



More information about the ffmpeg-cvslog mailing list