From 24e31dabaa4e8ae91927e702069d164e066fc7ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 10 Oct 2014 14:40:48 +0200 Subject: [PATCH] Build av_free_packet_internal always, regardless av_free_packet This resolves FTBFS if av_free_packet exists --- k9author/k9avidecode.cpp | 2 -- 1 file changed, 2 deletions(-) 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 @@ void *SwscaleHandle=0; int glibref=0; #ifdef NEW_FFMPEG -#ifdef NEEDS_AV_FREE_PACKET void av_free_packet_internal(AVPacket *pkt) { if (pkt) { @@ -49,7 +48,6 @@ void av_free_packet_internal(AVPacket *pkt) } } #endif -#endif #ifdef HAVE_SWSCALE #include "libswscale/swscale.h"