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:
ec10d2d
)
Pass only useful FLV metadata from RTMP stream
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sun, 22 Nov 2009 08:40:55 +0000
(08:40 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sun, 22 Nov 2009 08:40:55 +0000
(08:40 +0000)
Originally committed as revision 20573 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
6d52214
..
980b2d6
100644
(file)
--- a/
libavformat/rtmpproto.c
+++ b/
libavformat/rtmpproto.c
@@
-511,7
+511,7
@@
static int get_packet(URLContext *s, int for_header)
continue;
}
if (rpkt.type == RTMP_PT_VIDEO || rpkt.type == RTMP_PT_AUDIO ||
-
rpkt.type == RTMP_PT_NOTIFY
) {
+
(rpkt.type == RTMP_PT_NOTIFY && !memcmp("\002\000\012onMetaData", rpkt.data, 13))
) {
uint8_t *p;
uint32_t ts = rpkt.timestamp;