Permalink
Browse files

Merge pull request #1229 from Alberth289346/fix_exception_compile_error

Fix compile error on non-existing std::exception class (TheCycoOne)
  • Loading branch information...
TheCycoONE committed Jul 12, 2017
2 parents 5fb691f + 8c876a2 commit 221887cbae591055a3c6b307c24d20b3c398aa0e
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 221887c

Please sign in to comment.