| 68 | } |
| 69 | |
| 70 | void check(media_status_t status, const char * msg) |
| 71 | { |
| 72 | if (status != AMEDIA_OK) |
| 73 | { |
| 74 | spdlog::error("{}: MediaCodec error {}", msg, (int)status); |
| 75 | throw std::runtime_error("MediaCodec error"); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | struct android_blit_handle : public decoder::blit_handle |
| 80 | { |
no outgoing calls
no test coverage detected