diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-07-03 04:40:12 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-07-03 04:40:12 +0000 |
commit | bb943bb8fc55170760b151a2b4299e6e564231e1 (patch) | |
tree | 43581a4311282b06cc77df7ff650bbe4612cf6c8 /libavcodec | |
parent | 9d3fdf2031403301f25d7f5b4f5c323ba95139ee (diff) | |
download | ffmpeg-streaming-bb943bb8fc55170760b151a2b4299e6e564231e1.zip ffmpeg-streaming-bb943bb8fc55170760b151a2b4299e6e564231e1.tar.gz |
Give context to av_log
Originally committed as revision 24018 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 1054286..e7ffe45 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1902,7 +1902,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ 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++; |