Mercurial > libavformat.hg
diff rtmpproto.c @ 6055:1e49d06baf93 libavformat
24l trocadero: RTMP reader forgot to shift high byte of timestamp to its
proper position
Patch by trueice (his gmail account is obvious)
author | kostya |
---|---|
date | Tue, 25 May 2010 07:01:04 +0000 |
parents | 178de7695c6c |
children | 7fdda2416684 |
line wrap: on
line diff
--- a/rtmpproto.c Mon May 24 23:37:33 2010 +0000 +++ b/rtmpproto.c Tue May 25 07:01:04 2010 +0000 @@ -752,7 +752,7 @@ data_size = bytestream_get_be24(&next); p=next; cts = bytestream_get_be24(&next); - cts |= bytestream_get_byte(&next); + cts |= bytestream_get_byte(&next) << 24; if (pts==0) pts=cts; ts += cts - pts;