diff options
Diffstat (limited to 'src/lib/ffmpeg.cc')
| -rw-r--r-- | src/lib/ffmpeg.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index 77bf75018..c97b79a71 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -68,8 +68,8 @@ FFmpeg::setup_general () { av_register_all (); - if (avformat_open_input (&_format_context, _ffmpeg_content->file().string().c_str(), 0, 0) < 0) { - throw OpenFileError (_ffmpeg_content->file().string ()); + if (avformat_open_input (&_format_context, _ffmpeg_content->path().string().c_str(), 0, 0) < 0) { + throw OpenFileError (_ffmpeg_content->path().string ()); } if (avformat_find_stream_info (_format_context, 0) < 0) { |
