diff options
author | Chess Griffin <chess@chessgriffin.com> | 2010-06-28 23:21:52 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-29 00:36:36 -0500 |
commit | 424be1ba1bfa2f72bdb45a658062d0406d53bf04 (patch) | |
tree | 1ddd3d4e7388e531fd1dab305fce3ca7beac4805 /audio/audacity/audacity-src-1.3.12-beta-avformat-api-change.patch | |
parent | 9296dedd5aecb5fbfaa15b55f0988021e6e2bfe9 (diff) |
audio/audacity: Patched to build with ffmpeg-0.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/audacity/audacity-src-1.3.12-beta-avformat-api-change.patch')
-rw-r--r-- | audio/audacity/audacity-src-1.3.12-beta-avformat-api-change.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/audio/audacity/audacity-src-1.3.12-beta-avformat-api-change.patch b/audio/audacity/audacity-src-1.3.12-beta-avformat-api-change.patch new file mode 100644 index 0000000000000..e6e8315598de0 --- /dev/null +++ b/audio/audacity/audacity-src-1.3.12-beta-avformat-api-change.patch @@ -0,0 +1,33 @@ +diff -p -up audacity-src-1.3.12-beta/src/FFmpeg.cpp~ audacity-src-1.3.12-beta/src/FFmpeg.cpp +--- audacity-src-1.3.12-beta/src/FFmpeg.cpp~ 2010-03-30 13:28:54.000000000 +0200 ++++ audacity-src-1.3.12-beta/src/FFmpeg.cpp 2010-05-07 11:17:29.000000000 +0200 +@@ -356,7 +356,7 @@ int ufile_fopen_input(AVFormatContext ** + } + // Otherwize, resort to extension matching if available + else if (fmt1->extensions) { +- if (FFmpegLibsInst->match_ext(filename, fmt1->extensions)) { ++ if (FFmpegLibsInst->av_match_ext(filename, fmt1->extensions)) { + score = 50; + } + } +@@ -829,7 +829,7 @@ bool FFmpegLibs::InitLibs(wxString libpa + INITDYN(avformat,av_open_input_file); + INITDYN(avformat,av_open_input_stream); + INITDYN(avformat,get_buffer); +- INITDYN(avformat,match_ext); ++ INITDYN(avformat,av_match_ext); + + #if FFMPEG_STABLE + INITDYN(avformat,av_init_packet); +diff -p -up audacity-src-1.3.12-beta/src/FFmpeg.h~ audacity-src-1.3.12-beta/src/FFmpeg.h +--- audacity-src-1.3.12-beta/src/FFmpeg.h~ 2010-03-30 13:28:54.000000000 +0200 ++++ audacity-src-1.3.12-beta/src/FFmpeg.h 2010-05-07 11:17:45.000000000 +0200 +@@ -224,7 +224,7 @@ public: + AVStream* (*av_new_stream) (AVFormatContext *s, int id); + AVFormatContext* (*av_alloc_format_context) (void); + AVOutputFormat* (*guess_format) (const char *short_name, const char *filename, const char *mime_type); +- int (*match_ext) (const char *filename, const char *extensions); ++ int (*av_match_ext) (const char *filename, const char *extensions); + int (*av_write_trailer) (AVFormatContext *s); + int (*av_interleaved_write_frame) (AVFormatContext *s, AVPacket *pkt); + int (*av_write_frame) (AVFormatContext *s, AVPacket *pkt); |