Add a context to av_log() call.
Originally committed as revision 17373 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
76b9092f24
commit
b9450753ea
@ -254,7 +254,7 @@ static int vmd_read_packet(AVFormatContext *s,
|
|||||||
}
|
}
|
||||||
pkt->stream_index = frame->stream_index;
|
pkt->stream_index = frame->stream_index;
|
||||||
pkt->pts = frame->pts;
|
pkt->pts = frame->pts;
|
||||||
av_log(NULL, AV_LOG_DEBUG, " dispatching %s frame with %d bytes and pts %"PRId64"\n",
|
av_log(s, AV_LOG_DEBUG, " dispatching %s frame with %d bytes and pts %"PRId64"\n",
|
||||||
(frame->frame_record[0] == 0x02) ? "video" : "audio",
|
(frame->frame_record[0] == 0x02) ? "video" : "audio",
|
||||||
frame->frame_size + BYTES_PER_FRAME_RECORD,
|
frame->frame_size + BYTES_PER_FRAME_RECORD,
|
||||||
pkt->pts);
|
pkt->pts);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user