mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-02 06:47:59 +03:00
Killed str_error, std::runtime_error does the job
This commit is contained in:
parent
2407f21c47
commit
053074babb
13 changed files with 28 additions and 50 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "ffmpeg_source.hpp"
|
||||
|
||||
#include "../../tools/str_exception.hpp"
|
||||
#include <stdexcept>
|
||||
|
||||
using namespace Mangle::Sound;
|
||||
|
||||
|
@ -9,7 +9,7 @@ using namespace Mangle::Sound;
|
|||
static uint8_t outBuf[AVCODEC_MAX_AUDIO_FRAME_SIZE];
|
||||
|
||||
static void fail(const std::string &msg)
|
||||
{ throw str_exception("FFMpeg exception: " + msg); }
|
||||
{ throw std::runtime_error("FFMpeg exception: " + msg); }
|
||||
|
||||
// --- Loader ---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue