OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa9aeb8
)
avcodec: use av_opt_set() instead of deprecated av_set_string3()
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 19 Nov 2011 06:14:27 +0000
(
01:14
-0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 19 Nov 2011 06:14:27 +0000
(
01:14
-0500)
libavcodec/options.c
patch
|
blob
|
history
diff --git
a/libavcodec/options.c
b/libavcodec/options.c
index
76ca66c
..
100d4e6
100644
(file)
--- a/
libavcodec/options.c
+++ b/
libavcodec/options.c
@@
-588,7
+588,7
@@
int avcodec_get_context_defaults3(AVCodecContext *s, AVCodec *codec){
int ret;
const AVCodecDefault *d = codec->defaults;
while (d->key) {
- ret = av_
set_string3(s, d->key, d->value, 0, NULL
);
+ ret = av_
opt_set(s, d->key, d->value, 0
);
av_assert0(ret >= 0);
d++;
}