aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dv1394.c
diff options
context:
space:
mode:
authorMichel Bardiaux <mbardiaux@peaktime.be>2004-03-03 15:41:21 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-03-03 15:41:21 +0000
commitbc874daea8273e2471f5a6f914cdc9cf97371a1c (patch)
tree967f82d529194e1dcc9865caedc0378950ec6f2f /libavformat/dv1394.c
parent81c5f887485a3d46ec5948832acc7da8167b5248 (diff)
downloadffmpeg-bc874daea8273e2471f5a6f914cdc9cf97371a1c.tar.gz
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/dv1394.c')
-rw-r--r--libavformat/dv1394.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/dv1394.c b/libavformat/dv1394.c
index 1cbb0e7eb1..94c62f65b6 100644
--- a/libavformat/dv1394.c
+++ b/libavformat/dv1394.c
@@ -153,7 +153,7 @@ static int dv1394_read_packet(AVFormatContext *context, AVPacket *pkt)
* We have to reset :(.
*/
- fprintf(stderr, "DV1394: Ring buffer overflow. Reseting ..\n");
+ av_log(context, AV_LOG_ERROR, "DV1394: Ring buffer overflow. Reseting ..\n");
dv1394_reset(dv);
dv1394_start(dv);
@@ -191,7 +191,7 @@ restart_poll:
dv->done = 0;
if (s.dropped_frames) {
- fprintf(stderr, "DV1394: Frame drop detected (%d). Reseting ..\n",
+ av_log(context, AV_LOG_ERROR, "DV1394: Frame drop detected (%d). Reseting ..\n",
s.dropped_frames);
dv1394_reset(dv);