# HG changeset patch # User kostya # Date 1274770864 0 # Node ID 1e49d06baf93e74722d8ea1cb132d7513940be42 # Parent a198eb01f895d8c9bd5fe11c1663edbd20d9669e 24l trocadero: RTMP reader forgot to shift high byte of timestamp to its proper position Patch by trueice (his gmail account is obvious) diff -r a198eb01f895 -r 1e49d06baf93 rtmpproto.c --- 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;