Commit e01ad950 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/rtmpproto: Fix 2nd packet size

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 3496a20b
......@@ -2218,7 +2218,7 @@ static int append_flv_data(RTMPContext *rt, RTMPPacket *pkt, int skip)
bytestream2_put_byte(&pbc, ts >> 24);
bytestream2_put_be24(&pbc, 0);
bytestream2_put_buffer(&pbc, data, size);
bytestream2_put_be32(&pbc, 0);
bytestream2_put_be32(&pbc, size + 11);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment