Skip to content

Commit

Permalink
Fixes filoe#298: Ffmpeg does not allow unicode filenames.
Browse files Browse the repository at this point in the history
  • Loading branch information
filoe committed Nov 26, 2017
1 parent c95af22 commit 97c45da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CSCore.Ffmpeg/Interops/FFmpeg.avformat.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ internal unsafe static partial class ffmpeg
internal static extern int av_probe_input_buffer(AVIOContext* @pb, AVInputFormat** @fmt, [MarshalAs(UnmanagedType.LPStr)] string @url, void* @logctx, uint @offset, uint @max_probe_size);

[DllImport(libavformat, EntryPoint = "avformat_open_input", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
internal static extern int avformat_open_input(AVFormatContext** @ps, [MarshalAs(UnmanagedType.LPStr)] string @url, AVInputFormat* @fmt, AVDictionary** @options);
internal static extern int avformat_open_input(AVFormatContext** @ps, [MarshalAs(UnmanagedType.LPWStr)] string @url, AVInputFormat* @fmt, AVDictionary** @options);

[DllImport(libavformat, EntryPoint = "av_demuxer_open", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
internal static extern int av_demuxer_open(AVFormatContext* @ic);
Expand Down

0 comments on commit 97c45da

Please sign in to comment.