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

Function encode_simple_receive_packet

libavcodec/encode.c:334–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334static int encode_simple_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)
335{
336 int ret;
337
338 while (!avpkt->data && !avpkt->side_data) {
339 ret = encode_simple_internal(avctx, avpkt);
340 if (ret < 0)
341 return ret;
342 }
343
344 return 0;
345}
346
347static int encode_receive_packet_internal(AVCodecContext *avctx, AVPacket *avpkt)
348{

Callers 1

Calls 1

encode_simple_internalFunction · 0.85

Tested by

no test coverage detected