You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	cmdutils: Fix sign error in display matrix auto-rotation code
This makes the sample from Ticket4560 behave consistently with either branch Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -2101,7 +2101,7 @@ double get_rotation(AVStream *st) | ||||
|             theta = 0; | ||||
|     } | ||||
|     if (displaymatrix && !theta) | ||||
|         theta = av_display_rotation_get((int32_t*) displaymatrix); | ||||
|         theta = -av_display_rotation_get((int32_t*) displaymatrix); | ||||
|  | ||||
|     theta -= 360*floor(theta/360 + 0.9/360); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user