diff options
author | hasso <hasso> | 2009-02-26 18:00:34 +0000 |
---|---|---|
committer | hasso <hasso> | 2009-02-26 18:00:34 +0000 |
commit | 171a6ecffc93bd82e9d95ce76ca25efb01e964d4 (patch) | |
tree | a340b39a1337d35b351b913c7307df3e40c2bf9b /audio/akode/patches/patch-ad | |
parent | cf4519a1839d9a960e274c92eb8a6e032be70696 (diff) | |
download | pkgsrc-171a6ecffc93bd82e9d95ce76ca25efb01e964d4.tar.gz |
aKode is a simple audio decoding framework that provides a uniform interface
to decode the most common audio formats. It also has a direct playback option
for a number of audio outputs.
This package provides the aKode library and akodeplay testing utility.
Diffstat (limited to 'audio/akode/patches/patch-ad')
-rw-r--r-- | audio/akode/patches/patch-ad | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/audio/akode/patches/patch-ad b/audio/akode/patches/patch-ad new file mode 100644 index 00000000000..f593de2e402 --- /dev/null +++ b/audio/akode/patches/patch-ad @@ -0,0 +1,28 @@ +$NetBSD: patch-ad,v 1.1.1.1 2009/02/26 18:00:34 hasso Exp $ + +--- akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp.orig 2006-08-10 21:37:20 +0300 ++++ akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp 2009-02-20 13:57:54 +0200 +@@ -26,9 +26,11 @@ + #include "decoder.h" + + #include <assert.h> +-#include <ffmpeg/avcodec.h> +-#include <ffmpeg/avformat.h> +-#include <ffmpeg/avio.h> ++extern "C" { ++#include <libavcodec/avcodec.h> ++#include <libavformat/avformat.h> ++#include <libavformat/avio.h> ++} + + #include "ffmpeg_decoder.h" + #include <iostream> +@@ -349,7 +351,7 @@ retry: + assert(false); + } + if (length == 0) return readFrame(frame); +- std::cout << "akode: FFMPEG: Frame length: " << length << "\n"; ++ // std::cout << "akode: FFMPEG: Frame length: " << length << "\n"; + + if( d->packetSize <= 0 ) + av_free_packet( &d->packet ); |