You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Set bits_per_raw_sample when reading j2k frames.
This commit is contained in:
		| @@ -350,6 +350,7 @@ static int get_siz(Jpeg2000DecoderContext *s) | ||||
|                ncomponents > 2 ? s->cdx[2] : 0, | ||||
|                ncomponents > 2 ? s->cdy[2] : 0); | ||||
|     } | ||||
|     s->avctx->bits_per_raw_sample = s->precision; | ||||
|     return 0; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user