summaryrefslogtreecommitdiff
path: root/libavformat/dv1394.c
diff options
context:
space:
mode:
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);