projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe5fba4
)
rtmp: handle bytes read reports
author
Luca Barbato
<lu_zero@gentoo.org>
Mon, 13 Aug 2012 17:46:04 +0000
(19:46 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 13 Aug 2012 19:03:59 +0000
(21:03 +0200)
0x03 (bytes read report) is a known type and should be safely ignored
beside in debug situations.
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
5fb5ac4
..
1db3152
100644
(file)
--- 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;