Correct the count of bytes written to the initial FLV buffer
commitc89b57271fa4e8548930574c462f3fb98be9276f
authorMartin Storsjo <martin@martin.st>
Thu, 5 Dec 2013 09:00:43 +0000 (5 11:00 +0200)
committerMartin Storsjo <martin@martin.st>
Thu, 5 Dec 2013 09:00:43 +0000 (5 11:00 +0200)
tree049bb7eb4b16f8a48e61285255e912528be44da5
parenta9f353c7ccf29d6305e13fedb77653b8681e9fc2
Correct the count of bytes written to the initial FLV buffer

This matters if the buffer overflows, when the count is used
for patching the buffer back together. This happens if there
are multiple video packets with zero timestamp at the start
of the stream (before any audio packets), enough to fill the buffer.
librtmp/rtmp.c