Branch: master

24e31dab 2014-10-10 07:45:14 Slávek Banko
Build av_free_packet_internal always, regardless av_free_packet
This resolves FTBFS if av_free_packet exists
M k9author/k9avidecode.cpp
diff --git a/k9author/k9avidecode.cpp b/k9author/k9avidecode.cpp
index 3910ce9..3931337 100644
--- a/k9author/k9avidecode.cpp
+++ b/k9author/k9avidecode.cpp
@@ -40,7 +40,6 @@
 int glibref=0;
 
 #ifdef NEW_FFMPEG
-#ifdef NEEDS_AV_FREE_PACKET
 void av_free_packet_internal(AVPacket *pkt)
 {
   if (pkt) {
@@ -48,7 +47,6 @@
     pkt->data = NULL; pkt->size = 0;
   }
 }
-#endif
 #endif
 
 #ifdef HAVE_SWSCALE