You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avcodec/jpeg2000dec: Fallback to yuv if no matching xyz format exists
Fixes Ticket4471 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -220,7 +220,8 @@ static int pix_fmt_match(enum AVPixelFormat pix_fmt, int components, | ||||
| static const enum AVPixelFormat rgb_pix_fmts[]  = {RGB_PIXEL_FORMATS}; | ||||
| static const enum AVPixelFormat gray_pix_fmts[] = {GRAY_PIXEL_FORMATS}; | ||||
| static const enum AVPixelFormat yuv_pix_fmts[]  = {YUV_PIXEL_FORMATS}; | ||||
| static const enum AVPixelFormat xyz_pix_fmts[]  = {XYZ_PIXEL_FORMATS}; | ||||
| static const enum AVPixelFormat xyz_pix_fmts[]  = {XYZ_PIXEL_FORMATS, | ||||
|                                                    YUV_PIXEL_FORMATS}; | ||||
| static const enum AVPixelFormat all_pix_fmts[]  = {RGB_PIXEL_FORMATS, | ||||
|                                                    GRAY_PIXEL_FORMATS, | ||||
|                                                    YUV_PIXEL_FORMATS, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user