dvbsubdec: fix buf ptr in dvbsub_parse_region_segment()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									7e0f4f9d0f
								
							
						
					
					
						commit
						f12c7ad86d
					
				@ -1058,9 +1058,10 @@ static void dvbsub_parse_region_segment(AVCodecContext *avctx,
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    region->clut = *buf++;
 | 
					    region->clut = *buf++;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (region->depth == 8)
 | 
					    if (region->depth == 8) {
 | 
				
			||||||
        region->bgcolor = *buf++;
 | 
					        region->bgcolor = *buf++;
 | 
				
			||||||
    else {
 | 
					        buf += 1;
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
        buf += 1;
 | 
					        buf += 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (region->depth == 4)
 | 
					        if (region->depth == 4)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user