diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-06-18 13:40:48 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-07-10 17:09:28 +0200 |
commit | 71a861cf4010ab835fab383a250f27903eb61a34 (patch) | |
tree | 5af1c2668613d3cd606b9803f34ac68c22152228 /cmdutils.c | |
parent | 18c007ba37b2c7dee5bd2f1a3eb3bfee9b6b3d26 (diff) | |
download | ffmpeg-71a861cf4010ab835fab383a250f27903eb61a34.tar.gz |
lavc: make avcodec_alloc_context3 officially public.
Deprecate avcodec_alloc_context/2.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c index 943a77c82c..2124ca1439 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -63,7 +63,7 @@ void init_opts(void) { int i; for (i = 0; i < AVMEDIA_TYPE_NB; i++) - avcodec_opts[i] = avcodec_alloc_context2(i); + avcodec_opts[i] = avcodec_alloc_context3(NULL); avformat_opts = avformat_alloc_context(); #if CONFIG_SWSCALE sws_opts = sws_getContext(16, 16, 0, 16, 16, 0, SWS_BICUBIC, NULL, NULL, NULL); |