Revision dfd2a005 libavformat/rtspdec.c
libavformat/rtspdec.c | ||
---|---|---|
184 | 184 |
RTSPStream *rtsp_st; |
185 | 185 |
|
186 | 186 |
#ifdef DEBUG_RTP_TCP |
187 |
dprintf(s, "tcp_read_packet:\n");
|
|
187 |
av_dlog(s, "tcp_read_packet:\n");
|
|
188 | 188 |
#endif |
189 | 189 |
redo: |
190 | 190 |
for (;;) { |
... | ... | |
205 | 205 |
id = buf[0]; |
206 | 206 |
len = AV_RB16(buf + 1); |
207 | 207 |
#ifdef DEBUG_RTP_TCP |
208 |
dprintf(s, "id=%d len=%d\n", id, len);
|
|
208 |
av_dlog(s, "id=%d len=%d\n", id, len);
|
|
209 | 209 |
#endif |
210 | 210 |
if (len > buf_size || len < 12) |
211 | 211 |
goto redo; |
Also available in: Unified diff