mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-04-28 21:20:20 +00:00
lavc: make avcodec_get_context_defaults3 "officially" public
Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2
This commit is contained in:
parent
84ad31ff18
commit
f0eeff708a
3 changed files with 38 additions and 26 deletions
|
|
@ -4234,8 +4234,8 @@ static int parse_ffconfig(const char *filename)
|
|||
}
|
||||
|
||||
stream->fmt = avserver_guess_format(NULL, stream->filename, NULL);
|
||||
avcodec_get_context_defaults2(&video_enc, AVMEDIA_TYPE_VIDEO);
|
||||
avcodec_get_context_defaults2(&audio_enc, AVMEDIA_TYPE_AUDIO);
|
||||
avcodec_get_context_defaults3(&video_enc, NULL);
|
||||
avcodec_get_context_defaults3(&audio_enc, NULL);
|
||||
audio_id = CODEC_ID_NONE;
|
||||
video_id = CODEC_ID_NONE;
|
||||
if (stream->fmt) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue