summaryrefslogtreecommitdiff
path: root/libavformat/rtspdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-06 00:53:31 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-07 13:20:58 +0200
commit1f6b9cc31d086860c7a7887685bed321fe3843f4 (patch)
tree255e95c24141197df11f2e837950e1d172423e17 /libavformat/rtspdec.c
parentf8ea0eb6ff5719a3ff2a60454dd0a2b07aa6dbe2 (diff)
Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.
Diffstat (limited to 'libavformat/rtspdec.c')
-rw-r--r--libavformat/rtspdec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index fa6bc05517..9cd9be1d4b 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -31,9 +31,6 @@
#include "rdt.h"
#include "url.h"
-//#define DEBUG
-//#define DEBUG_RTP_TCP
-
static int rtsp_read_play(AVFormatContext *s)
{
RTSPState *rt = s->priv_data;
@@ -191,9 +188,7 @@ int ff_rtsp_tcp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
int id, len, i, ret;
RTSPStream *rtsp_st;
-#ifdef DEBUG_RTP_TCP
av_dlog(s, "tcp_read_packet:\n");
-#endif
redo:
for (;;) {
RTSPMessageHeader reply;
@@ -212,9 +207,7 @@ redo:
return -1;
id = buf[0];
len = AV_RB16(buf + 1);
-#ifdef DEBUG_RTP_TCP
av_dlog(s, "id=%d len=%d\n", id, len);
-#endif
if (len > buf_size || len < 12)
goto redo;
/* get the data */