[MPlayer-cvslog] r35805 - trunk/av_opts.c

diego subversion at mplayerhq.hu
Mon Jan 21 19:21:30 CET 2013


Author: diego
Date: Mon Jan 21 19:21:24 2013
New Revision: 35805

Log:
av_opts: Replace deprecated av_set_string3() by av_opt_set()

patch by Luca Barbato, lu_zero gentoo org

Modified:
   trunk/av_opts.c

Modified: trunk/av_opts.c
==============================================================================
--- trunk/av_opts.c	Mon Jan 21 12:47:35 2013	(r35804)
+++ trunk/av_opts.c	Mon Jan 21 19:21:24 2013	(r35805)
@@ -42,7 +42,7 @@ int parse_avopts(void *v, char *str){
         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;
         }


More information about the MPlayer-cvslog mailing list