Permalink
Browse files

Fix compile error on non-existing std::exception class (TheCycoOne)

  • Loading branch information...
Alberth289346 committed Jul 12, 2017
1 parent 5fb691f commit 8c876a214120f9e6ccf6983948cd8494f9d7aaf1
Showing with 1 addition and 1 deletion.
  1. +1 −1 CorsixTH/Src/th_movie.cpp
@@ -909,7 +909,7 @@ int THMovie::getFrame(int stream, AVFrame* pFrame)
if (res == AVERROR(EAGAIN))
{
throw std::exception("avcodec_receive_frame and avcodec_send_packet should not return EAGAIN at the same time");
throw std::runtime_error("avcodec_receive_frame and avcodec_send_packet should not return EAGAIN at the same time");
}
}
}

0 comments on commit 8c876a2

Please sign in to comment.