You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avdevice/vfwcap: make constant arrays static
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -155,7 +155,7 @@ static void dump_bih(AVFormatContext *s, BITMAPINFOHEADER *bih) | ||||
| static int shall_we_drop(AVFormatContext *s) | ||||
| { | ||||
|     struct vfw_ctx *ctx = s->priv_data; | ||||
|     const uint8_t dropscore[] = {62, 75, 87, 100}; | ||||
|     static const uint8_t dropscore[] = {62, 75, 87, 100}; | ||||
|     const int ndropscores = FF_ARRAY_ELEMS(dropscore); | ||||
|     unsigned int buffer_fullness = (ctx->curbufsize*100)/s->max_picture_buffer; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user