Prechádzať zdrojové kódy

av_free_packet is a library call. Don't reproduce its code here.

Frank Zago 14 rokov pred
rodič
commit
98577e402f
1 zmenil súbory, kde vykonal 0 pridanie a 11 odobranie
  1. 0 11
      client/CVideoHandler.cpp

+ 0 - 11
client/CVideoHandler.cpp

@@ -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