changeset 32769:833b0eb23585

Use av_set_string3 instead of deprecated av_set_string.
author reimar
date Sat, 05 Feb 2011 14:04:07 +0000
parents 3544ba7244bf
children 5f64b983624a
files av_opts.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/av_opts.c	Sat Feb 05 14:02:49 2011 +0000
+++ b/av_opts.c	Sat Feb 05 14:04:07 2011 +0000
@@ -38,7 +38,7 @@
         arg     = strchr(str, '=');
         if(arg)      *arg++= 0;
 
-        if(!av_set_string(v, str, arg)){
+        if(av_set_string3(v, str, arg, 0, NULL) < 0){
             free(start);
             return -1;
         }