rtmpproto: Write correct flv packet sizes at the end of packets
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Oct 2015 09:17:24 +0000 (12:17 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 14 Oct 2015 12:35:33 +0000 (14:35 +0200)
commite55376a1fd5abebbb0a082aa20739d58c2260a37
tree2d99fa68574ab7a31b91e514091fcc4e22220fc6
parent6a23a34274b747280c1e4a00ad22f97f99bbb48a
rtmpproto: Write correct flv packet sizes at the end of packets

In one case it was written as zero, one case left it uninitialized,
missed the 11 bytes for the flv header.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/rtmpproto.c