OSDN Git Service

rtmp: Add a function for writing AMF strings based on two substrings
authorMartin Storsjö <martin@martin.st>
Sun, 30 Dec 2012 20:38:23 +0000 (22:38 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 31 Dec 2012 11:39:07 +0000 (13:39 +0200)
commit33f28a3be3092f642778253d9529dd66fe2a014a
treea0b23bd49e2023126a3c077c90d0dc9b72bb1230
parentc76daa89ab91ebbd9e29d289d207bf88213255ae
rtmp: Add a function for writing AMF strings based on two substrings

This avoids having to concatenate them into one buffer before writing
them as AMF.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmppkt.c
libavformat/rtmppkt.h