[FFmpeg-cvslog] avformat/rtmpproto: Fix 2nd packet size
Michael Niedermayer
git at videolan.org
Wed Sep 16 03:57:37 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Sep 16 03:42:47 2015 +0200| [e01ad950bb1beb86add6ba5c38f4a10caac29f62] | committer: Michael Niedermayer
avformat/rtmpproto: Fix 2nd packet size
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e01ad950bb1beb86add6ba5c38f4a10caac29f62
---
libavformat/rtmpproto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 51d9ac6..73ba89b 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;
}
More information about the ffmpeg-cvslog
mailing list