History

Give context to av_log

Originally committed as revision 24018 to svn://svn.ffmpeg.org/ffmpeg/trunk

Baptiste Coudurier committed 16 years ago

Commit bb943bb1 parent 9d3fdf21 file · +1 −1Browse files

Unified · Split

libavcodec/h264.c+1−1
@@ -1902,7 +1902,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ · 1901 unmodified lines
1902 if(h0->current_slice == 0){1902 if(h0->current_slice == 0){
1903 while(h->frame_num != h->prev_frame_num &&1903 while(h->frame_num != h->prev_frame_num &&
1904 h->frame_num != (h->prev_frame_num+1)%(1<<h->sps.log2_max_frame_num)){1904 h->frame_num != (h->prev_frame_num+1)%(1<<h->sps.log2_max_frame_num)){
1905 av_log(NULL, AV_LOG_DEBUG, "Frame num gap %d %d\n", h->frame_num, h->prev_frame_num);1905 av_log(h->s.avctx, AV_LOG_DEBUG, "Frame num gap %d %d\n", h->frame_num, h->prev_frame_num);
1906 if (ff_h264_frame_start(h) < 0)1906 if (ff_h264_frame_start(h) < 0)
1907 return -1;1907 return -1;
1908 h->prev_frame_num++;1908 h->prev_frame_num++;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t