mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 04:26:37 +08:00 
			
		
		
		
	avutil/pixdesc: Remove deprecated off-by-one fields from pix fmt descs
Deprecated in 2268db2cd0.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
			
			
This commit is contained in:
		 Andreas Rheinhardt
					Andreas Rheinhardt
				
			
				
					committed by
					
						 James Almer
						James Almer
					
				
			
			
				
	
			
			
			 James Almer
						James Almer
					
				
			
						parent
						
							b8accd1175
						
					
				
				
					commit
					0181162bb5
				
			
							
								
								
									
										1056
									
								
								libavutil/pixdesc.c
									
									
									
									
									
								
							
							
						
						
									
										1056
									
								
								libavutil/pixdesc.c
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -56,17 +56,6 @@ typedef struct AVComponentDescriptor { | |||||||
|      * Number of bits in the component. |      * Number of bits in the component. | ||||||
|      */ |      */ | ||||||
|     int depth; |     int depth; | ||||||
|  |  | ||||||
| #if FF_API_PLUS1_MINUS1 |  | ||||||
|     /** deprecated, use step instead */ |  | ||||||
|     attribute_deprecated int step_minus1; |  | ||||||
|  |  | ||||||
|     /** deprecated, use depth instead */ |  | ||||||
|     attribute_deprecated int depth_minus1; |  | ||||||
|  |  | ||||||
|     /** deprecated, use offset instead */ |  | ||||||
|     attribute_deprecated int offset_plus1; |  | ||||||
| #endif |  | ||||||
| } AVComponentDescriptor; | } AVComponentDescriptor; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|   | |||||||
| @@ -105,9 +105,6 @@ | |||||||
|  * @{ |  * @{ | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #ifndef FF_API_PLUS1_MINUS1 |  | ||||||
| #define FF_API_PLUS1_MINUS1             (LIBAVUTIL_VERSION_MAJOR < 57) |  | ||||||
| #endif |  | ||||||
| #ifndef FF_API_ERROR_FRAME | #ifndef FF_API_ERROR_FRAME | ||||||
| #define FF_API_ERROR_FRAME              (LIBAVUTIL_VERSION_MAJOR < 57) | #define FF_API_ERROR_FRAME              (LIBAVUTIL_VERSION_MAJOR < 57) | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user