|
|
@ -115,11 +115,6 @@ static int64_t wrap_timestamp(const AVStream *st, int64_t timestamp) |
|
|
|
|
|
|
|
|
|
|
|
#if FF_API_FORMAT_GET_SET |
|
|
|
#if FF_API_FORMAT_GET_SET |
|
|
|
MAKE_ACCESSORS(AVStream, stream, AVRational, r_frame_rate) |
|
|
|
MAKE_ACCESSORS(AVStream, stream, AVRational, r_frame_rate) |
|
|
|
#if FF_API_LAVF_FFSERVER |
|
|
|
|
|
|
|
FF_DISABLE_DEPRECATION_WARNINGS |
|
|
|
|
|
|
|
MAKE_ACCESSORS(AVStream, stream, char *, recommended_encoder_configuration) |
|
|
|
|
|
|
|
FF_ENABLE_DEPRECATION_WARNINGS |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
MAKE_ACCESSORS(AVFormatContext, format, AVCodec *, video_codec) |
|
|
|
MAKE_ACCESSORS(AVFormatContext, format, AVCodec *, video_codec) |
|
|
|
MAKE_ACCESSORS(AVFormatContext, format, AVCodec *, audio_codec) |
|
|
|
MAKE_ACCESSORS(AVFormatContext, format, AVCodec *, audio_codec) |
|
|
|
MAKE_ACCESSORS(AVFormatContext, format, AVCodec *, subtitle_codec) |
|
|
|
MAKE_ACCESSORS(AVFormatContext, format, AVCodec *, subtitle_codec) |
|
|
@ -4392,18 +4387,6 @@ int ff_stream_encode_params_copy(AVStream *dst, const AVStream *src) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#if FF_API_LAVF_FFSERVER |
|
|
|
|
|
|
|
FF_DISABLE_DEPRECATION_WARNINGS |
|
|
|
|
|
|
|
av_freep(&dst->recommended_encoder_configuration); |
|
|
|
|
|
|
|
if (src->recommended_encoder_configuration) { |
|
|
|
|
|
|
|
const char *conf_str = src->recommended_encoder_configuration; |
|
|
|
|
|
|
|
dst->recommended_encoder_configuration = av_strdup(conf_str); |
|
|
|
|
|
|
|
if (!dst->recommended_encoder_configuration) |
|
|
|
|
|
|
|
return AVERROR(ENOMEM); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
FF_ENABLE_DEPRECATION_WARNINGS |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -4448,11 +4431,6 @@ FF_DISABLE_DEPRECATION_WARNINGS |
|
|
|
FF_ENABLE_DEPRECATION_WARNINGS |
|
|
|
FF_ENABLE_DEPRECATION_WARNINGS |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
av_freep(&st->priv_data); |
|
|
|
av_freep(&st->priv_data); |
|
|
|
#if FF_API_LAVF_FFSERVER |
|
|
|
|
|
|
|
FF_DISABLE_DEPRECATION_WARNINGS |
|
|
|
|
|
|
|
av_freep(&st->recommended_encoder_configuration); |
|
|
|
|
|
|
|
FF_ENABLE_DEPRECATION_WARNINGS |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
av_freep(pst); |
|
|
|
av_freep(pst); |
|
|
|
} |
|
|
|
} |
|
|
|