diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-10-08 08:47:47 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-19 17:02:11 +0200 |
commit | f0eeff708ab5add2d4e8aec9b10683d71b4802be (patch) | |
tree | 01a97a9c3d2bd614729377c9f7d7f65a9ad0b198 /avserver.c | |
parent | 84ad31ff180fa089cd6bfd93c246336a16036455 (diff) | |
download | ffmpeg-f0eeff708ab5add2d4e8aec9b10683d71b4802be.tar.gz |
lavc: make avcodec_get_context_defaults3 "officially" public
Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2
Diffstat (limited to 'avserver.c')
-rw-r--r-- | avserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avserver.c b/avserver.c index 72b775447e..cb8f41f509 100644 --- a/avserver.c +++ b/avserver.c @@ -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) { |