changeset 35711:8a3aa3aee319

av_opts: Replace deprecated av_set_string3() by av_opt_set() patch by Luca Barbato, lu_zero gentoo org
author diego
date Mon, 21 Jan 2013 18:21:24 +0000
parents f7ea2a9f0c52
children d206960484fe
files av_opts.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/av_opts.c	Mon Jan 21 11:47:35 2013 +0000
+++ b/av_opts.c	Mon Jan 21 18:21:24 2013 +0000
@@ -42,7 +42,7 @@
         arg     = strchr(str, '=');
         if(arg)      *arg++= 0;
 
-        if(av_set_string3(v, str, arg, 0, NULL) < 0){
+        if (av_opt_set(v, str, arg, 0) < 0) {
             free(start);
             return -1;
         }