| 332 | } |
| 333 | |
| 334 | static 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 | |
| 347 | static int encode_receive_packet_internal(AVCodecContext *avctx, AVPacket *avpkt) |
| 348 | { |
no test coverage detected