mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fftools: drop useless indirection
This commit is contained in:
parent
5e51f5af33
commit
c99b93c5d5
@ -1980,7 +1980,7 @@ static void show_help_filter(const char *name)
|
||||
count = avfilter_filter_pad_count(f, 0);
|
||||
for (i = 0; i < count; i++) {
|
||||
printf(" #%d: %s (%s)\n", i, avfilter_pad_get_name(f->inputs, i),
|
||||
media_type_string(avfilter_pad_get_type(f->inputs, i)));
|
||||
av_get_media_type_string(avfilter_pad_get_type(f->inputs, i)));
|
||||
}
|
||||
if (f->flags & AVFILTER_FLAG_DYNAMIC_INPUTS)
|
||||
printf(" dynamic (depending on the options)\n");
|
||||
@ -1991,7 +1991,7 @@ static void show_help_filter(const char *name)
|
||||
count = avfilter_filter_pad_count(f, 1);
|
||||
for (i = 0; i < count; i++) {
|
||||
printf(" #%d: %s (%s)\n", i, avfilter_pad_get_name(f->outputs, i),
|
||||
media_type_string(avfilter_pad_get_type(f->outputs, i)));
|
||||
av_get_media_type_string(avfilter_pad_get_type(f->outputs, i)));
|
||||
}
|
||||
if (f->flags & AVFILTER_FLAG_DYNAMIC_OUTPUTS)
|
||||
printf(" dynamic (depending on the options)\n");
|
||||
|
@ -633,8 +633,6 @@ void *grow_array(void *array, int elem_size, int *size, int new_size);
|
||||
*/
|
||||
void *allocate_array_elem(void *array, size_t elem_size, int *nb_elems);
|
||||
|
||||
#define media_type_string av_get_media_type_string
|
||||
|
||||
#define GROW_ARRAY(array, nb_elems)\
|
||||
array = grow_array(array, sizeof(*array), &nb_elems, nb_elems + 1)
|
||||
|
||||
|
@ -1608,7 +1608,7 @@ static void print_final_stats(int64_t total_size)
|
||||
total_packets += ist->nb_packets;
|
||||
|
||||
av_log(NULL, AV_LOG_VERBOSE, " Input stream #%d:%d (%s): ",
|
||||
i, j, media_type_string(type));
|
||||
i, j, av_get_media_type_string(type));
|
||||
av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" packets read (%"PRIu64" bytes); ",
|
||||
ist->nb_packets, ist->data_size);
|
||||
|
||||
@ -1642,7 +1642,7 @@ static void print_final_stats(int64_t total_size)
|
||||
total_packets += ost->packets_written;
|
||||
|
||||
av_log(NULL, AV_LOG_VERBOSE, " Output stream #%d:%d (%s): ",
|
||||
i, j, media_type_string(type));
|
||||
i, j, av_get_media_type_string(type));
|
||||
if (ost->encoding_needed) {
|
||||
av_log(NULL, AV_LOG_VERBOSE, "%"PRIu64" frames encoded",
|
||||
ost->frames_encoded);
|
||||
|
Loading…
Reference in New Issue
Block a user