changeset 12083:dd5efc28bca9 libavcodec

Give context to av_log
author bcoudurier
date Sat, 03 Jul 2010 04:40:12 +0000
parents 8527154f6e81
children b6cf19580e47
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Sat Jul 03 00:48:12 2010 +0000
+++ b/h264.c	Sat Jul 03 04:40:12 2010 +0000
@@ -1902,7 +1902,7 @@
     if(h0->current_slice == 0){
         while(h->frame_num !=  h->prev_frame_num &&
               h->frame_num != (h->prev_frame_num+1)%(1<<h->sps.log2_max_frame_num)){
-            av_log(NULL, AV_LOG_DEBUG, "Frame num gap %d %d\n", h->frame_num, h->prev_frame_num);
+            av_log(h->s.avctx, AV_LOG_DEBUG, "Frame num gap %d %d\n", h->frame_num, h->prev_frame_num);
             if (ff_h264_frame_start(h) < 0)
                 return -1;
             h->prev_frame_num++;