MCPcopy Create free account
hub / github.com/FFMS/ffms2 / GetFrameCheck

Method GetFrameCheck

src/core/videosource.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void 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
69FFMS_Frame *FFMS_VideoSource::OutputFrame(AVFrame *Frame) {
70 SanityCheckFrameForData(Frame);

Callers

nothing calls this directly

Calls 1

FFMS_ExceptionClass · 0.85

Tested by

no test coverage detected