[FFmpeg-cvslog] rtmp: handle bytes read reports
Luca Barbato
git at videolan.org
Tue Aug 14 15:39:43 CEST 2012
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Mon Aug 13 19:46:04 2012 +0200| [fb96c1c5fe6b0131a7229e8b89222192465bf298] | committer: Luca Barbato
rtmp: handle bytes read reports
0x03 (bytes read report) is a known type and should be safely ignored
beside in debug situations.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb96c1c5fe6b0131a7229e8b89222192465bf298
---
libavformat/rtmpproto.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 5fb5ac4..1db3152 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -1200,6 +1200,9 @@ static int rtmp_parse_result(URLContext *s, RTMPContext *rt, RTMPPacket *pkt)
#endif
switch (pkt->type) {
+ case RTMP_PT_BYTES_READ:
+ av_dlog(s, "received bytes read report\n");
+ break;
case RTMP_PT_CHUNK_SIZE:
if ((ret = handle_chunk_size(s, pkt)) < 0)
return ret;
More information about the ffmpeg-cvslog
mailing list