[FFmpeg-cvslog] r24018 - trunk/libavcodec/h264.c
bcoudurier
subversion
Sat Jul 3 06:40:12 CEST 2010
Author: bcoudurier
Date: Sat Jul 3 06:40:12 2010
New Revision: 24018
Log:
Give context to av_log
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c Sat Jul 3 05:15:37 2010 (r24017)
+++ trunk/libavcodec/h264.c Sat Jul 3 06:40:12 2010 (r24018)
@@ -1902,7 +1902,7 @@ static int decode_slice_header(H264Conte
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++;
More information about the ffmpeg-cvslog
mailing list