Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 339082 Details for
Bug 443250
media-libs/chromaprint-0.7: fails to build against media-video/libav-9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch, solves problem for me
chromaprint-0.7-libav9.patch (text/plain), 1.42 KB, created by
Nikoli
on 2013-02-16 17:09:43 UTC
(
hide
)
Description:
patch, solves problem for me
Filename:
MIME Type:
Creator:
Nikoli
Created:
2013-02-16 17:09:43 UTC
Size:
1.42 KB
patch
obsolete
>Description: Allow chromaprint to build with new libav with API v9 > This patch changes from the old API (in use since FFMPEG was the > favored lib to compile against), to the new API provided by the > libav* family of libraries. Also takes care to import the right > C symbols from libavutil/mem.h to fix linking. > . > chromaprint (0.7-1~matteo1) UNRELEASED; urgency=low > . > * Non-maintainer upload. > * Update to latest upstream > + Use libav API v9 >Author: Matteo Settenvini <matteo@member.fsf.org> >Bug-Debian: http://bugs.debian.org/692912 >Forwarded: no >Last-Update: 2012-12-19 > >--- chromaprint-0.7.orig/examples/fpcalc.c >+++ chromaprint-0.7/examples/fpcalc.c >@@ -42,7 +42,7 @@ int decode_audio_file(ChromaprintContext > goto done; > } > >- if (av_find_stream_info(format_ctx) < 0) { >+ if (avformat_find_stream_info(format_ctx, NULL) < 0) { > fprintf(stderr, "ERROR: couldn't find stream information in the file\n"); > goto done; > } >@@ -65,7 +65,7 @@ int decode_audio_file(ChromaprintContext > goto done; > } > >- if (avcodec_open(codec_ctx, codec) < 0) { >+ if (avcodec_open2(codec_ctx, codec, NULL) < 0) { > fprintf(stderr, "ERROR: couldn't open the codec\n"); > goto done; > } >--- chromaprint-0.7.orig/src/fft_lib_avfft.cpp >+++ chromaprint-0.7/src/fft_lib_avfft.cpp >@@ -21,6 +21,11 @@ > #include "utils.h" > #include "fft_lib_avfft.h" > >+extern "C" >+{ >+ #include <libavutil/mem.h> >+} >+ > using namespace std; > using namespace Chromaprint; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 443250
: 339082 |
339084