git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3496a20
)
avformat/rtmpproto: Fix 2nd packet size
author
Michael Niedermayer
<michael@niedermayer.cc>
Wed, 16 Sep 2015 01:42:47 +0000
(
03:42
+0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Wed, 16 Sep 2015 01:43:21 +0000
(
03:43
+0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
51d9ac6
..
73ba89b
100644
(file)
--- 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;
}