avutil/pixdesc: Remove deprecated off-by-one fields from pix fmt descs
Deprecated in 2268db2cd052674fde55c7d48b7a5098ce89b4ba. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
		
							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.
 | 
			
		||||
     */
 | 
			
		||||
    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;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 | 
			
		||||
@ -105,9 +105,6 @@
 | 
			
		||||
 * @{
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef FF_API_PLUS1_MINUS1
 | 
			
		||||
#define FF_API_PLUS1_MINUS1             (LIBAVUTIL_VERSION_MAJOR < 57)
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef FF_API_ERROR_FRAME
 | 
			
		||||
#define FF_API_ERROR_FRAME              (LIBAVUTIL_VERSION_MAJOR < 57)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user