[FFmpeg-devel] [PATCH] fix rtmpproto.c timestamp read bug
Kostya
kostya.shishkov
Tue May 25 08:53:05 CEST 2010
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
More information about the ffmpeg-devel
mailing list