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
Remove 2 ++ from check_pes() that are useless, found by CSA.
Originally committed as revision 18577 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Michael Niedermayer
16 years ago
parent
4b96f43fe1
commit
e8c9383914
1 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
libavformat/mpeg.c
+ 0
- 2
libavformat/mpeg.c
View File
@@ -42,10 +42,8 @@ static int check_pes(uint8_t *p, uint8_t *end){
if((*p&0xC0) == 0x40) p+=2;
if((*p&0xF0) == 0x20){
pes1= p[0]&p[2]&p[4]&1;
p+=5;
}else if((*p&0xF0) == 0x30){
pes1= p[0]&p[2]&p[4]&p[5]&p[7]&p[9]&1;
p+=10;
}else
pes1 = *p == 0x0F;
Write
Preview
Loading…
Cancel
Save