| 723 | } |
| 724 | |
| 725 | AVCodec *avcodec_find_encoder(enum CodecID id) |
| 726 | { |
| 727 | AVCodec *p, *experimental=NULL; |
| 728 | p = first_avcodec; |
| 729 | while (p) { |
| 730 | if (p->encode != NULL && p->id == id) { |
| 731 | if (p->capabilities & CODEC_CAP_EXPERIMENTAL && !experimental) { |
| 732 | experimental = p; |
| 733 | } else |
| 734 | return p; |
| 735 | } |
| 736 | p = p->next; |
| 737 | } |
| 738 | return experimental; |
| 739 | } |
| 740 | |
| 741 | AVCodec *avcodec_find_encoder_by_name(const char *name) |
| 742 | { |
no outgoing calls
no test coverage detected