This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
use one shift less in get_pts()
Originally committed as revision 11383 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ivo van Poorten
17 years ago
parent
b44665c4e6
commit
3d94e3ba93
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/mpeg.c
+ 1
- 1
libavformat/mpeg.c
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save