| 97 | } |
| 98 | |
| 99 | static 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 |
| 109 | const uint32_t maxiteration = 8096; |
nothing calls this directly
no test coverage detected