[MPlayer-cvslog] CVS: main/libmpdemux demux_avs.c,1.1,1.2
Sascha Sommer CVS
syncmail at mplayerhq.hu
Sun Feb 13 22:36:58 CET 2005
CVS change done by Sascha Sommer CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv2334/libmpdemux
Modified Files:
demux_avs.c
Log Message:
10l
Index: demux_avs.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_avs.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- demux_avs.c 13 Feb 2005 13:38:27 -0000 1.1
+++ demux_avs.c 13 Feb 2005 21:36:56 -0000 1.2
@@ -85,6 +85,9 @@
AVS_T *initAVS(const char *filename)
{
AVS_T *AVS = (AVS_T *) malloc (sizeof(AVS_T));
+ AVS_Value arg0 = avs_new_value_string(filename);
+ AVS_Value args = avs_new_value_array(&arg0, 1);
+
memset(AVS, 0, sizeof(AVS_T));
#ifdef WIN32_LOADER
@@ -117,8 +120,6 @@
return NULL;
}
- AVS_Value arg0 = avs_new_value_string(filename);
- AVS_Value args = avs_new_value_array(&arg0, 1);
AVS->handler = AVS->avs_invoke(AVS->avs_env, "Import", args, 0);
More information about the MPlayer-cvslog
mailing list