diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-12-11 17:13:35 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-12-11 17:13:35 +0000 |
commit | cfac91fec3acfac8dc6b8d6a658abb98d2823002 (patch) | |
tree | 02b20163c45631adce9f95d235f7f9ced98b6d75 /libavformat/rtmppkt.h | |
parent | f8caa5441b2e1a9b45f19415512a855ac482398f (diff) | |
download | ffmpeg-cfac91fec3acfac8dc6b8d6a658abb98d2823002.tar.gz |
Dump RTMP packet contents in debug mode
Originally committed as revision 20799 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtmppkt.h')
-rw-r--r-- | libavformat/rtmppkt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/rtmppkt.h b/libavformat/rtmppkt.h index df1dd05525..560165b560 100644 --- a/libavformat/rtmppkt.h +++ b/libavformat/rtmppkt.h @@ -129,6 +129,14 @@ int ff_rtmp_packet_write(URLContext *h, RTMPPacket *p, 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 * @{ |