diff options
author | fluffy <fluffy@FreeBSD.org> | 2009-08-22 21:09:48 +0800 |
---|---|---|
committer | fluffy <fluffy@FreeBSD.org> | 2009-08-22 21:09:48 +0800 |
commit | e650c0eacb59dd9d28b201975cc4da0446aec7e4 (patch) | |
tree | 6d0affe888b87b7a177b337a5e6917e892e733ae /sysutils/k3b-kde4 | |
parent | 495e256119b3af10b5f10608067368a862f5c188 (diff) | |
download | freebsd-ports-gnome-e650c0eacb59dd9d28b201975cc4da0446aec7e4.tar.gz freebsd-ports-gnome-e650c0eacb59dd9d28b201975cc4da0446aec7e4.tar.zst freebsd-ports-gnome-e650c0eacb59dd9d28b201975cc4da0446aec7e4.zip |
[patch] sysutils/k3b - fix build against new ffmpeg
PR: 137873
Submitted by: Alberto Villa <Alberto Villa <villa.alberto@gmail.com>
Approved by: tabthorpe (mentor)
Diffstat (limited to 'sysutils/k3b-kde4')
-rw-r--r-- | sysutils/k3b-kde4/files/patch-plugins-decoder-ffmpeg-k3bffmpegwrapper.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/k3b-kde4/files/patch-plugins-decoder-ffmpeg-k3bffmpegwrapper.cpp b/sysutils/k3b-kde4/files/patch-plugins-decoder-ffmpeg-k3bffmpegwrapper.cpp new file mode 100644 index 000000000000..95b3aafd972e --- /dev/null +++ b/sysutils/k3b-kde4/files/patch-plugins-decoder-ffmpeg-k3bffmpegwrapper.cpp @@ -0,0 +1,21 @@ +--- plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp.orig 2009-08-15 21:28:47.344449975 +0200 ++++ plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp 2009-08-15 21:30:16.985967181 +0200 +@@ -31,6 +31,9 @@ + #define FFMPEG_BUILD_PRE_4629 + #endif + ++#ifndef CODEC_ID_MP3LAME ++#define CODEC_ID_MP3LAME CODEC_ID_MP3 ++#endif + + K3bFFMpegWrapper* K3bFFMpegWrapper::s_instance = 0; + +@@ -290,7 +293,7 @@ + #ifdef FFMPEG_BUILD_PRE_4629 + int len = avcodec_decode_audio( &d->formatContext->streams[0]->codec, + #else +- int len = avcodec_decode_audio( d->formatContext->streams[0]->codec, ++ int len = avcodec_decode_audio2( d->formatContext->streams[0]->codec, + #endif + (short*)d->outputBuffer, &d->outputBufferSize, + d->packetData, d->packetSize ); |