summaryrefslogtreecommitdiffstats
path: root/k9author
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 07:44:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 07:44:07 +0000
commit32cb73195f95212a97ae0784163b0551d80b05c8 (patch)
tree6cf6cf2f5271d5c87aff285ef11fe3938f9c2a28 /k9author
parent25dbac3c0c2f07138ad03492b257de6d829944c6 (diff)
downloadk9copy-32cb73195f95212a97ae0784163b0551d80b05c8.tar.gz
k9copy-32cb73195f95212a97ae0784163b0551d80b05c8.zip
Fix FTBFS on Maverick
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1172018 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'k9author')
-rw-r--r--k9author/k9avidecode.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/k9author/k9avidecode.cpp b/k9author/k9avidecode.cpp
index 1ef120d..7e19a7f 100644
--- a/k9author/k9avidecode.cpp
+++ b/k9author/k9avidecode.cpp
@@ -28,6 +28,14 @@ void *CodecHandle=0;
void *FormatHandle=0;
int glibref=0;
+void av_free_packet(AVPacket *pkt)
+{
+ if (pkt) {
+ if (pkt->destruct) pkt->destruct(pkt);
+ pkt->data = NULL; pkt->size = 0;
+ }
+}
+
k9AviDecode::k9AviDecode(QObject *parent, const char *name)
: QObject(parent, name) {
if (glibref==0) {