diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-16 03:42:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-16 03:43:21 +0200 |
commit | e01ad950bb1beb86add6ba5c38f4a10caac29f62 (patch) | |
tree | fa262a6f2816f98678cb0890266b396487e0707e /libavformat | |
parent | 3496a20bb92570aaa82849f0d5409f2e29fe2d2b (diff) | |
download | ffmpeg-e01ad950bb1beb86add6ba5c38f4a10caac29f62.tar.gz |
avformat/rtmpproto: Fix 2nd packet size
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 51d9ac601c..73ba89bec2 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -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; } |