| 52 | } |
| 53 | |
| 54 | enum SampleFormat avcodec_get_sample_fmt(const char* name) |
| 55 | { |
| 56 | int i; |
| 57 | |
| 58 | for (i=0; i < SAMPLE_FMT_NB; i++) |
| 59 | if (!strcmp(sample_fmt_info[i].name, name)) |
| 60 | return i; |
| 61 | return SAMPLE_FMT_NONE; |
| 62 | } |
| 63 | |
| 64 | void avcodec_sample_fmt_string (char *buf, int buf_size, int sample_fmt) |
| 65 | { |
no outgoing calls
no test coverage detected