mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	av_free_packet is a library call. Don't reproduce its code here.
This commit is contained in:
		| @@ -968,15 +968,4 @@ CVideoPlayer::~CVideoPlayer() | ||||
| 	close(); | ||||
| } | ||||
|  | ||||
| //In old versions of libavformat this function is defined as static inline and not present in compiled library | ||||
| //which results in linkage error if compiler had not inlined it for some reason | ||||
| #if  (LIBAVFORMAT_VERSION_MAJOR < 52) || ( LIBAVFORMAT_VERSION_MAJOR == 52 && LIBAVFORMAT_VERSION_MINOR < 32 ) | ||||
| void av_free_packet(AVPacket *pkt) | ||||
| { | ||||
| 	if (pkt && pkt->destruct) { | ||||
| 		pkt->destruct(pkt); | ||||
| 	} | ||||
| } | ||||
| #endif | ||||
|  | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user