MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / audio_video_handler

Function audio_video_handler

tools/target_dec_fuzzer.c:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99static int audio_video_handler(AVCodecContext *avctx, AVFrame *frame,
100 int *got_frame, const AVPacket *dummy)
101{
102 int ret = avcodec_receive_frame(avctx, frame);
103 av_assert0(ret != AVERROR_BUG);
104 *got_frame = ret >= 0;
105 return ret;
106}
107
108// Ensure we don't loop forever
109const uint32_t maxiteration = 8096;

Callers

nothing calls this directly

Calls 1

avcodec_receive_frameFunction · 0.85

Tested by

no test coverage detected