Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
audacity
audacity-ffmpeg_match_ext.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File audacity-ffmpeg_match_ext.patch of Package audacity
Index: src/FFmpeg.cpp =================================================================== --- src/FFmpeg.cpp.orig +++ src/FFmpeg.cpp @@ -204,7 +204,7 @@ static int ufile_read(URLContext *h, uns return ret; } -static int ufile_write(URLContext *h, unsigned char *buf, int size) +static int ufile_write(URLContext *h, const unsigned char *buf, int size) { return (int) ((wxFile *) h->priv_data)->Write(buf, size); } @@ -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); Index: src/FFmpeg.h =================================================================== --- src/FFmpeg.h.orig +++ src/FFmpeg.h @@ -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);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor