mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1685: Cross build RTC with FFmpeg
This commit is contained in:
parent
1c75a270b3
commit
1e9de0e191
267 changed files with 12603 additions and 1451 deletions
|
@ -218,14 +218,6 @@ typedef struct AVCodecInternal {
|
|||
|
||||
/* to prevent infinite loop on errors when draining */
|
||||
int nb_draining_errors;
|
||||
|
||||
/* used when avctx flag AV_CODEC_FLAG_DROPCHANGED is set */
|
||||
int changed_frames_dropped;
|
||||
int initial_format;
|
||||
int initial_width, initial_height;
|
||||
int initial_sample_rate;
|
||||
int initial_channels;
|
||||
uint64_t initial_channel_layout;
|
||||
} AVCodecInternal;
|
||||
|
||||
struct AVCodecDefault {
|
||||
|
@ -412,18 +404,6 @@ int ff_alloc_a53_sei(const AVFrame *frame, size_t prefix_len,
|
|||
*/
|
||||
int64_t ff_guess_coded_bitrate(AVCodecContext *avctx);
|
||||
|
||||
/**
|
||||
* Check if a value is in the list. If not, return the default value
|
||||
*
|
||||
* @param ctx Context for the log msg
|
||||
* @param val_name Name of the checked value, for log msg
|
||||
* @param array_valid_values Array of valid int, ended with INT_MAX
|
||||
* @param default_value Value return if checked value is not in the array
|
||||
* @return Value or default_value.
|
||||
*/
|
||||
int ff_int_from_list_or_default(void *ctx, const char * val_name, int val,
|
||||
const int * array_valid_values, int default_value);
|
||||
|
||||
#if defined(_WIN32) && CONFIG_SHARED && !defined(BUILDING_avcodec)
|
||||
# define av_export_avcodec __declspec(dllimport)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue