[PATCH] fix rtmpproto.c timestamp read bug
25 May
2010
25 May
'10
4:49 a.m.
Hi, We've found libavformat returns totally dis-ordered rtmp packets when doing rtmp ingest, which is not a right behavior. A patch for libavformat/rtmpproto.c is as attached, cts's extended part should have been read out like this: cts |= bytestream_get_byte(&next) << 24; -- Yours trueice
25 May
25 May
6:53 a.m.
On Tue, May 25, 2010 at 12:49:14PM +0800, trueice wrote:
Hi,
We've found libavformat returns totally dis-ordered rtmp packets when doing rtmp ingest, which is not a right behavior.
A patch for libavformat/rtmpproto.c is as attached, cts's extended part should have been read out like this:
cts |= bytestream_get_byte(&next) << 24;
Indeed, silly lacuna. Thanks for spotting.
-- Yours trueice
6013
Age (days ago)
6013
Last active (days ago)
1 comments
2 participants
participants (2)
-
kostya.shishkov@gmail.com -
trueice@gmail.com