[SCM] libav/experimental: Fix a warning in ffserver.c caused by the use of the function av_set_string() deprecated since r14134.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:25:01 UTC 2013
The following commit has been merged in the experimental branch:
commit 7ac884c5914cfc426f9963ff0e02d81574a09140
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date: Wed Jul 9 21:51:40 2008 +0000
Fix a warning in ffserver.c caused by the use of the function
av_set_string() deprecated since r14134.
Originally committed as revision 14145 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/ffserver.c b/ffserver.c
index 884a8bd..bf4c2ed 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3732,7 +3732,7 @@ static int opt_default(const char *opt, const char *arg,
const AVOption *o = NULL;
const AVOption *o2 = av_find_opt(avctx, opt, NULL, type, type);
if(o2)
- o = av_set_string(avctx, opt, arg);
+ o = av_set_string2(avctx, opt, arg, 1);
if(!o)
return -1;
return 0;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list