changeset 4888:1b46fda1e1e0 libavformat

Remove 2 ++ from check_pes() that are useless, found by CSA.
author michael
date Fri, 17 Apr 2009 18:08:39 +0000
parents acb51f192e13
children 848722752aa5
files mpeg.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg.c	Fri Apr 17 17:42:41 2009 +0000
+++ b/mpeg.c	Fri Apr 17 18:08:39 2009 +0000
@@ -42,10 +42,8 @@
     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;