summaryrefslogtreecommitdiff
path: root/libavformat/rtspdec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2011-01-29 17:46:18 +0100
committerLuca Barbato <lu_zero@gentoo.org>2011-01-29 23:55:37 +0100
commitdfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4 (patch)
tree21b297b37ea12443540479d44fadbc1a54f32f00 /libavformat/rtspdec.c
parent243f8241dbf4a451e1197661ccd387c519ae3349 (diff)
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
Diffstat (limited to 'libavformat/rtspdec.c')
-rw-r--r--libavformat/rtspdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index f95f7c3851..45ed7bb9bb 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -184,7 +184,7 @@ int ff_rtsp_tcp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
RTSPStream *rtsp_st;
#ifdef DEBUG_RTP_TCP
- dprintf(s, "tcp_read_packet:\n");
+ av_dlog(s, "tcp_read_packet:\n");
#endif
redo:
for (;;) {
@@ -205,7 +205,7 @@ redo:
id = buf[0];
len = AV_RB16(buf + 1);
#ifdef DEBUG_RTP_TCP
- dprintf(s, "id=%d len=%d\n", id, len);
+ av_dlog(s, "id=%d len=%d\n", id, len);
#endif
if (len > buf_size || len < 12)
goto redo;