[FFmpeg-trac] #10981(avformat:new): avformat_open_input cant handle unicode filename after update to ffmpeg-6 and c++20
FFmpeg
trac at avcodec.org
Mon May 6 15:48:30 EEST 2024
#10981: avformat_open_input cant handle unicode filename after update to ffmpeg-6
and c++20
---------------------------------+------------------------------------
Reporter: DarylE | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avformat
Version: 6.1.1 | Resolution:
Keywords: unicode | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+------------------------------------
Comment (by DarylE):
This is the definition ..
{{{
std::string _audio_file;
}}}
Our fix was to go thru the code with ToUTF8(). Weird how this would have
changed..
{{{
int res = avformat_open_input(&formatContext, ToUTF8(_audio_file).c_str(),
nullptr, nullptr);
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10981#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list