History

lavc: make avcodec_get_context_defaults3 "officially" public

Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2

Anton Khirnov committed 15 years ago

Commit f0eeff71 parent 84ad31f3 files · +36 −24Browse files

Showing the changes to avserver.c (1 of 3 files). Show all

Unified · Split

avserver.c+2−2
@@ -4234,8 +4234,8 @@ static int parse_ffconfig(const char *filename) · 4233 unmodified lines
4234 }4234 }
4235 4235
4236 stream->fmt = avserver_guess_format(NULL, stream->filename, NULL);4236 stream->fmt = avserver_guess_format(NULL, stream->filename, NULL);
4237 avcodec_get_context_defaults2(&video_enc, AVMEDIA_TYPE_VIDEO);4237 avcodec_get_context_defaults3(&video_enc, NULL);
4238 avcodec_get_context_defaults2(&audio_enc, AVMEDIA_TYPE_AUDIO);4238 avcodec_get_context_defaults3(&audio_enc, NULL);
4239 audio_id = CODEC_ID_NONE;4239 audio_id = CODEC_ID_NONE;
4240 video_id = CODEC_ID_NONE;4240 video_id = CODEC_ID_NONE;
4241 if (stream->fmt) {4241 if (stream->fmt) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t