You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavfi/formats: cosmetic: move negotiation stuff at the end
It was between AVFilterFormats and AVFilterChannelLayouts.
This commit is contained in:
@@ -69,21 +69,6 @@ struct AVFilterFormats {
|
||||
struct AVFilterFormats ***refs; ///< references to this list
|
||||
};
|
||||
|
||||
typedef struct AVFilterFormatMerger {
|
||||
unsigned offset;
|
||||
int (*merge)(void *a, void *b);
|
||||
int (*can_merge)(const void *a, const void *b);
|
||||
} AVFilterFormatsMerger;
|
||||
|
||||
typedef struct AVFilterNegotiation {
|
||||
unsigned nb;
|
||||
const AVFilterFormatsMerger *mergers;
|
||||
const char *conversion_filter;
|
||||
unsigned conversion_opts_offset;
|
||||
} AVFilterNegotiation;
|
||||
|
||||
const AVFilterNegotiation *ff_filter_get_negotiation(AVFilterLink *link);
|
||||
|
||||
/**
|
||||
* A list of supported channel layouts.
|
||||
*
|
||||
@@ -330,4 +315,19 @@ int ff_formats_check_sample_rates(void *log, const AVFilterFormats *fmts);
|
||||
*/
|
||||
int ff_formats_check_channel_layouts(void *log, const AVFilterChannelLayouts *fmts);
|
||||
|
||||
typedef struct AVFilterFormatMerger {
|
||||
unsigned offset;
|
||||
int (*merge)(void *a, void *b);
|
||||
int (*can_merge)(const void *a, const void *b);
|
||||
} AVFilterFormatsMerger;
|
||||
|
||||
typedef struct AVFilterNegotiation {
|
||||
unsigned nb;
|
||||
const AVFilterFormatsMerger *mergers;
|
||||
const char *conversion_filter;
|
||||
unsigned conversion_opts_offset;
|
||||
} AVFilterNegotiation;
|
||||
|
||||
const AVFilterNegotiation *ff_filter_get_negotiation(AVFilterLink *link);
|
||||
|
||||
#endif /* AVFILTER_FORMATS_H */
|
||||
|
Reference in New Issue
Block a user