summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-17 18:08:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-17 18:08:39 +0000
commite8c93839148a168aedc978388f14c3599dd072f8 (patch)
tree353634575505b2467d684a76d0cd62fdf78d8126 /libavformat/mpeg.c
parent4b96f43fe169bb29a9b45cbb116cd8a81cebfebe (diff)
Remove 2 ++ from check_pes() that are useless, found by CSA.
Originally committed as revision 18577 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 17b5aba13c..40202e0652 100644
--- 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;