summaryrefslogtreecommitdiffstats
path: root/test/audacity/audacity-ffmpeg.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-02 19:52:40 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-02 19:52:40 +0200
commit610bdc7126f520fba57ebee0ab13b86b52b8eabf (patch)
tree7d844925fb5bb2b3ee8e60ff54126734cd77c3d2 /test/audacity/audacity-ffmpeg.patch
parent36214fef9cc9846e70a0741d0742a60111954623 (diff)
downloadnutyx-extra-610bdc7126f520fba57ebee0ab13b86b52b8eabf.tar.gz
nutyx-extra-610bdc7126f520fba57ebee0ab13b86b52b8eabf.tar.bz2
nutyx-extra-610bdc7126f520fba57ebee0ab13b86b52b8eabf.tar.xz
nutyx-extra-610bdc7126f520fba57ebee0ab13b86b52b8eabf.zip
audacity dans test
Diffstat (limited to 'test/audacity/audacity-ffmpeg.patch')
-rw-r--r--test/audacity/audacity-ffmpeg.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/audacity/audacity-ffmpeg.patch b/test/audacity/audacity-ffmpeg.patch
new file mode 100644
index 000000000..cf0103c61
--- /dev/null
+++ b/test/audacity/audacity-ffmpeg.patch
@@ -0,0 +1,31 @@
+--- src/FFmpeg.cpp.original 2010-04-14 14:59:48.000000000 +0200
++++ src/FFmpeg.cpp 2010-04-14 15:25:52.136755669 +0200
+@@ -341,7 +341,7 @@
+ }
+ // 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;
+ }
+ }
+@@ -814,7 +814,7 @@
+ 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);
+--- src/FFmpeg.h.original 2010-04-14 14:59:48.000000000 +0200
++++ src/FFmpeg.h 2010-04-14 15:26:39.932590241 +0200
+@@ -222,7 +222,7 @@
+ 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);