History

Remove all uses of deprecated AVOptions API.

Anton Khirnov committed 15 years ago

Commit 3b3ea341 parent 8c5dcaa7 files · +35 −34Browse files

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

Unified · Split

avserver.c+1−1
@@ -3938,7 +3938,7 @@ static int avserver_opt_default(const char *opt, const char *arg, · 3937 unmodified lines
3938 int ret = 0;3938 int ret = 0;
3939 const AVOption *o = av_opt_find(avctx, opt, NULL, type, 0);3939 const AVOption *o = av_opt_find(avctx, opt, NULL, type, 0);
3940 if(o)3940 if(o)
3941 ret = av_set_string3(avctx, opt, arg, 1, NULL);3941 ret = av_opt_set(avctx, opt, arg, 0);
3942 return ret;3942 return ret;
3943}3943}
3944 3944

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