| 61 | } |
| 62 | |
| 63 | void FFMS_VideoSource::GetFrameCheck(int n) { |
| 64 | if (n < 0 || n >= VP.NumFrames) |
| 65 | throw FFMS_Exception(FFMS_ERROR_DECODING, FFMS_ERROR_INVALID_ARGUMENT, |
| 66 | "Out of bounds frame requested"); |
| 67 | } |
| 68 | |
| 69 | FFMS_Frame *FFMS_VideoSource::OutputFrame(AVFrame *Frame) { |
| 70 | SanityCheckFrameForData(Frame); |
nothing calls this directly
no test coverage detected