Off-by-two in mpegts.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3011 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									6c205de244
								
							
						
					
					
						commit
						550f0a9b07
					
				@ -1467,7 +1467,7 @@ int mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
 | 
			
		||||
        if (len < TS_PACKET_SIZE)
 | 
			
		||||
            return -1;
 | 
			
		||||
        if (buf[0] != 0x47) {
 | 
			
		||||
            buf--;
 | 
			
		||||
            buf++;
 | 
			
		||||
            len--;
 | 
			
		||||
        } else {
 | 
			
		||||
            handle_packet(ts, buf);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user