Killed str_error, std::runtime_error does the job

This commit is contained in:
Nicolay Korslund 2010-09-02 22:19:44 +02:00
parent 2407f21c47
commit 053074babb
13 changed files with 28 additions and 50 deletions

View file

@ -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 ---