avformat/thp: fix variable types to avoid overflows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									b73900b8a6
								
							
						
					
					
						commit
						2b1056e4e2
					
				@ -26,15 +26,15 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
typedef struct ThpDemuxContext {
 | 
					typedef struct ThpDemuxContext {
 | 
				
			||||||
    int              version;
 | 
					    int              version;
 | 
				
			||||||
    int              first_frame;
 | 
					    unsigned         first_frame;
 | 
				
			||||||
    int              first_framesz;
 | 
					    unsigned         first_framesz;
 | 
				
			||||||
    int              last_frame;
 | 
					    unsigned         last_frame;
 | 
				
			||||||
    int              compoff;
 | 
					    int              compoff;
 | 
				
			||||||
    int              framecnt;
 | 
					    unsigned         framecnt;
 | 
				
			||||||
    AVRational       fps;
 | 
					    AVRational       fps;
 | 
				
			||||||
    int              frame;
 | 
					    unsigned         frame;
 | 
				
			||||||
    int              next_frame;
 | 
					    int64_t          next_frame;
 | 
				
			||||||
    int              next_framesz;
 | 
					    unsigned         next_framesz;
 | 
				
			||||||
    int              video_stream_index;
 | 
					    int              video_stream_index;
 | 
				
			||||||
    int              audio_stream_index;
 | 
					    int              audio_stream_index;
 | 
				
			||||||
    int              compcount;
 | 
					    int              compcount;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user