Commit 0b717e24 authored by Paul B Mahol's avatar Paul B Mahol Committed by Michael Niedermayer

ffserver: use avcodec_get_context_defaults3()

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b479e016
...@@ -4221,8 +4221,8 @@ static int parse_ffconfig(const char *filename) ...@@ -4221,8 +4221,8 @@ static int parse_ffconfig(const char *filename)
} }
stream->fmt = ffserver_guess_format(NULL, stream->filename, NULL); stream->fmt = ffserver_guess_format(NULL, stream->filename, NULL);
avcodec_get_context_defaults2(&video_enc, AVMEDIA_TYPE_VIDEO); avcodec_get_context_defaults3(&video_enc, NULL);
avcodec_get_context_defaults2(&audio_enc, AVMEDIA_TYPE_AUDIO); avcodec_get_context_defaults3(&audio_enc, NULL);
audio_id = CODEC_ID_NONE; audio_id = CODEC_ID_NONE;
video_id = CODEC_ID_NONE; video_id = CODEC_ID_NONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment