projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b96f43
)
Remove 2 ++ from check_pes() that are useless, found by CSA.
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 17 Apr 2009 18:08:39 +0000
(18:08 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 17 Apr 2009 18:08:39 +0000
(18:08 +0000)
Originally committed as revision 18577 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mpeg.c
patch
|
blob
|
history
diff --git
a/libavformat/mpeg.c
b/libavformat/mpeg.c
index
17b5aba
..
40202e0
100644
(file)
--- a/
libavformat/mpeg.c
+++ b/
libavformat/mpeg.c
@@
-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;