ncpp: drop USE_FFMPEG guards #488

This commit is contained in:
nick black 2020-04-15 22:20:34 -04:00
parent c6aa99afba
commit 43c8b9fdb6

View File

@ -991,7 +991,6 @@ namespace ncpp
static Plane* map_plane (ncplane *ncp, Plane *associated_plane = nullptr) noexcept; static Plane* map_plane (ncplane *ncp, Plane *associated_plane = nullptr) noexcept;
#ifdef USE_FFMPEG
bool blit_bgrx (int placey, int placex, int linesize, const void* data, int begy, int begx, int leny, int lenx) const NOEXCEPT_MAYBE bool blit_bgrx (int placey, int placex, int linesize, const void* data, int begy, int begx, int leny, int lenx) const NOEXCEPT_MAYBE
{ {
bool ret = ncblit_bgrx (plane, placey, placex, linesize, data, begy, begx, leny, lenx) < 0; bool ret = ncblit_bgrx (plane, placey, placex, linesize, data, begy, begx, leny, lenx) < 0;
@ -1003,7 +1002,6 @@ namespace ncpp
bool ret = ncblit_rgba (plane, placey, placex, linesize, data, begy, begx, leny, lenx) < 0; bool ret = ncblit_rgba (plane, placey, placex, linesize, data, begy, begx, leny, lenx) < 0;
return error_guard_cond<bool, bool> (ret, ret); return error_guard_cond<bool, bool> (ret, ret);
} }
#endif
protected: protected:
explicit Plane (ncplane *_plane, bool _is_stdplane) explicit Plane (ncplane *_plane, bool _is_stdplane)