forked from FFmpeg/FFmpeg
24l trocadero: RTMP reader forgot to shift high byte of timestamp to its
proper position Patch by trueice (his gmail account is obvious) Originally committed as revision 23305 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
cc46005f50
commit
aae9a0931c
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ static int get_packet(URLContext *s, int for_header)
|
||||||
data_size = bytestream_get_be24(&next);
|
data_size = bytestream_get_be24(&next);
|
||||||
p=next;
|
p=next;
|
||||||
cts = bytestream_get_be24(&next);
|
cts = bytestream_get_be24(&next);
|
||||||
cts |= bytestream_get_byte(&next);
|
cts |= bytestream_get_byte(&next) << 24;
|
||||||
if (pts==0)
|
if (pts==0)
|
||||||
pts=cts;
|
pts=cts;
|
||||||
ts += cts - pts;
|
ts += cts - pts;
|
||||||
|
|
Loading…
Add table
Reference in a new issue