diff options
author | Måns Rullgård <mans@mansr.com> | 2008-07-13 19:41:10 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-07-13 19:41:10 +0000 |
commit | e8420626d02aa1031ff90a176332d6857a6d9ef2 (patch) | |
tree | 55c1fd7e15e498547c043085008953d5c31a56c5 /libavformat/rtpdec.c | |
parent | f94981ea6a83a398c14fdabb0cc97330d591732a (diff) | |
download | ffmpeg-e8420626d02aa1031ff90a176332d6857a6d9ef2.tar.gz |
RTP: use dprintf(), allow compilation with -DDEBUG
Originally committed as revision 14211 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r-- | libavformat/rtpdec.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 608612b875..e469a597c3 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -250,13 +250,9 @@ int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count) len = url_close_dyn_buf(pb, &buf); if ((len > 0) && buf) { int result; -#if defined(DEBUG) - printf("sending %d bytes of RR\n", len); -#endif + dprintf(s->ic, "sending %d bytes of RR\n", len); result= url_write(s->rtp_ctx, buf, len); -#if defined(DEBUG) - printf("result from url_write: %d\n", result); -#endif + dprintf(s->ic, "result from url_write: %d\n", result); av_free(buf); } return 0; |