summaryrefslogtreecommitdiffstats
path: root/k9author/k9avidecode.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-10-10 14:40:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-10 14:45:14 +0200
commit24e31dabaa4e8ae91927e702069d164e066fc7ea (patch)
treeccc7ec58751e5c3eb9fd904d54f8d2f09422e67d /k9author/k9avidecode.cpp
parent2897194bc29b89d65771642e10003493aa98a60d (diff)
downloadk9copy-24e31dabaa4e8ae91927e702069d164e066fc7ea.tar.gz
k9copy-24e31dabaa4e8ae91927e702069d164e066fc7ea.zip
Build av_free_packet_internal always, regardless av_free_packet
This resolves FTBFS if av_free_packet exists
Diffstat (limited to 'k9author/k9avidecode.cpp')
-rw-r--r--k9author/k9avidecode.cpp2
1 files changed, 0 insertions, 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"