[FFmpeg-cvslog] r20573 - trunk/libavformat/rtmpproto.c
kostya
subversion
Sun Nov 22 09:40:55 CET 2009
Author: kostya
Date: Sun Nov 22 09:40:55 2009
New Revision: 20573
Log:
Pass only useful FLV metadata from RTMP stream
Modified:
trunk/libavformat/rtmpproto.c
Modified: trunk/libavformat/rtmpproto.c
==============================================================================
--- trunk/libavformat/rtmpproto.c Sun Nov 22 08:48:35 2009 (r20572)
+++ trunk/libavformat/rtmpproto.c Sun Nov 22 09:40:55 2009 (r20573)
@@ -511,7 +511,7 @@ static int get_packet(URLContext *s, int
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;
More information about the ffmpeg-cvslog
mailing list