mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 00:26:39 +00:00 
			
		
		
		
	Correction of libavutil version
This commit is contained in:
		
							parent
							
								
									0a2ed8b0d7
								
							
						
					
					
						commit
						743b3dec99
					
				
					 2 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -43,11 +43,11 @@ extern "C"
 | 
			
		|||
        #include <libavutil/time.h>
 | 
			
		||||
    #endif
 | 
			
		||||
 | 
			
		||||
    // From libavcodec version 54.0.0 and onward the declaration of
 | 
			
		||||
    // From libavutil version 52.2.0 and onward the declaration of
 | 
			
		||||
    // AV_CH_LAYOUT_* is removed from libavcodec/avcodec.h and moved to
 | 
			
		||||
    // libavutil/channel_layout.h
 | 
			
		||||
    #if AV_VERSION_INT(54, 0, 0) <= AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
 | 
			
		||||
        LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO)
 | 
			
		||||
    #if AV_VERSION_INT(52, 2, 0) <= AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
 | 
			
		||||
        LIBAVUTIL_VERSION_MINOR, LIBAVUTIL_VERSION_MICRO)
 | 
			
		||||
        #include <libavutil/channel_layout.h>
 | 
			
		||||
    #endif
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,11 +11,11 @@ extern "C"
 | 
			
		|||
#include <libavcodec/avcodec.h>
 | 
			
		||||
#include <libavformat/avformat.h>
 | 
			
		||||
 | 
			
		||||
// From libavcodec version 54.0.0 and onward the declaration of
 | 
			
		||||
// From libavutil version 52.2.0 and onward the declaration of
 | 
			
		||||
// AV_CH_LAYOUT_* is removed from libavcodec/avcodec.h and moved to
 | 
			
		||||
// libavutil/channel_layout.h
 | 
			
		||||
#if AV_VERSION_INT(54, 0, 0) <= AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
 | 
			
		||||
    LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO)
 | 
			
		||||
#if AV_VERSION_INT(52, 2, 0) <= AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
 | 
			
		||||
    LIBAVUTIL_VERSION_MINOR, LIBAVUTIL_VERSION_MICRO)
 | 
			
		||||
    #include <libavutil/channel_layout.h>
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue