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

reimar subversion at mplayerhq.hu
Sat Feb 5 15:04:07 CET 2011


Author: reimar
Date: Sat Feb  5 15:04:07 2011
New Revision: 32856

Log:
Use av_set_string3 instead of deprecated av_set_string.

Modified:
   trunk/av_opts.c

Modified: trunk/av_opts.c
==============================================================================
--- trunk/av_opts.c	Sat Feb  5 15:02:49 2011	(r32855)
+++ trunk/av_opts.c	Sat Feb  5 15:04:07 2011	(r32856)
@@ -38,7 +38,7 @@ int parse_avopts(void *v, char *str){
         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;
         }


More information about the MPlayer-cvslog mailing list