diff rtmppkt.h @ 5432:f282f7758d6e libavformat

Dump RTMP packet contents in debug mode
author kostya
date Fri, 11 Dec 2009 17:13:35 +0000
parents 25a21f96f863
children 81b2509db2ad
line wrap: on
line diff
--- a/rtmppkt.h	Fri Dec 11 15:31:58 2009 +0000
+++ b/rtmppkt.h	Fri Dec 11 17:13:35 2009 +0000
@@ -129,6 +129,14 @@
                          int chunk_size, RTMPPacket *prev_pkt);
 
 /**
+ * Prints information and contents of RTMP packet.
+ *
+ * @param h          output context
+ * @param p          packet to dump
+ */
+void ff_rtmp_packet_dump(void *ctx, RTMPPacket *p);
+
+/**
  * @defgroup amffuncs functions used to work with AMF format (which is also used in .flv)
  * @see amf_* funcs in libavformat/flvdec.c
  * @{