[rtmpdump] [PATCH] Free skipped packets in RTMP_GetNextMediaPacket
Martin Storsjo
martin at martin.st
Wed May 30 21:06:57 CEST 2012
---
librtmp/rtmp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
index 52d0254..37a05ad 100644
--- a/librtmp/rtmp.c
+++ b/librtmp/rtmp.c
@@ -1091,6 +1091,7 @@ RTMP_GetNextMediaPacket(RTMP *r, RTMPPacket *packet)
packet->m_nTimeStamp, packet->m_hasAbsTimestamp,
r->m_mediaStamp);
#endif
+ RTMPPacket_Free(packet);
continue;
}
r->m_pausing = 0;
--
1.7.9.4
More information about the rtmpdump
mailing list