Commit c316d027 authored by ivo's avatar ivo

use one shift less in get_pts()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11383 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7dd0212a
......@@ -125,7 +125,7 @@ static int64_t get_pts(ByteIOContext *pb, int c)
if (c < 0)
c = get_byte(pb);
pts = (int64_t)((c >> 1) & 0x07) << 30;
pts = (int64_t)(c & 0x0e) << 29;
val = get_be16(pb);
pts |= (int64_t)(val >> 1) << 15;
val = get_be16(pb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment