diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-08-13 19:46:04 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-08-13 21:03:59 +0200 |
commit | fb96c1c5fe6b0131a7229e8b89222192465bf298 (patch) | |
tree | d0957f024ed725135cce53a5ac59ac0a73bc1b28 /libavformat/rtmpproto.c | |
parent | fe5fba44c5b2600633a691ea0dc817e3c4940aa6 (diff) | |
download | ffmpeg-fb96c1c5fe6b0131a7229e8b89222192465bf298.tar.gz |
rtmp: handle bytes read reports
0x03 (bytes read report) is a known type and should be safely ignored
beside in debug situations.
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r-- | libavformat/rtmpproto.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 5fb5ac4eef..1db3152e8d 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; |