| 148 | } |
| 149 | |
| 150 | FFMS_API(const FFMS_Frame *) FFMS_GetFrameByTime(FFMS_VideoSource *V, double Time, FFMS_ErrorInfo *ErrorInfo) { |
| 151 | ClearErrorInfo(ErrorInfo); |
| 152 | try { |
| 153 | return V->GetFrameByTime(Time); |
| 154 | } catch (FFMS_Exception &e) { |
| 155 | e.CopyOut(ErrorInfo); |
| 156 | return nullptr; |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | FFMS_API(int) FFMS_GetAudio(FFMS_AudioSource *A, void *Buf, int64_t Start, int64_t Count, FFMS_ErrorInfo *ErrorInfo) { |
| 161 | ClearErrorInfo(ErrorInfo); |
no test coverage detected