[Mplayer-cvslog] CVS: main/libmpcodecs dec_audio.h,1.1,1.2 vf.c,1.30,1.31 vf_palette.c,1.1,1.2 vf_scale.c,1.12,1.13

Arpi of Ize arpi at mplayerhq.hu
Sat May 25 15:22:30 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv22558

Modified Files:
	dec_audio.h vf.c vf_palette.c vf_scale.c 
Log Message:
warning fixes, patch by Ulrich Hecht <uli at suse.de>


Index: dec_audio.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_audio.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dec_audio.h	30 Oct 2001 17:04:59 -0000	1.1
+++ dec_audio.h	25 May 2002 13:22:28 -0000	1.2
@@ -4,4 +4,4 @@
 extern int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen);
 extern void resync_audio_stream(sh_audio_t *sh_audio);
 extern void skip_audio_frame(sh_audio_t *sh_audio);
-
+extern void uninit_audio(sh_audio_t *sh_audio);

Index: vf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- vf.c	20 May 2002 03:25:23 -0000	1.30
+++ vf.c	25 May 2002 13:22:28 -0000	1.31
@@ -2,6 +2,10 @@
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
+
 #include "../config.h"
 #include "../mp_msg.h"
 

Index: vf_palette.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_palette.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vf_palette.c	21 Apr 2002 17:22:37 -0000	1.1
+++ vf_palette.c	25 May 2002 13:22:28 -0000	1.2
@@ -19,14 +19,14 @@
     IMGFMT_BGR24,
     IMGFMT_BGR16,
     IMGFMT_BGR15,
-    NULL
+    0
 };
 static unsigned int rgb_list[]={
     IMGFMT_RGB32,
     IMGFMT_RGB24,
     IMGFMT_RGB16,
     IMGFMT_RGB15,
-    NULL
+    0
 };
 
 static unsigned int find_best(struct vf_instance_s* vf, unsigned int fmt){

Index: vf_scale.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- vf_scale.c	20 May 2002 03:25:23 -0000	1.12
+++ vf_scale.c	25 May 2002 13:22:28 -0000	1.13
@@ -32,7 +32,7 @@
     IMGFMT_YV12,
     IMGFMT_I420,
     IMGFMT_IYUV,
-    NULL
+    0
 };
 
 static unsigned int find_best_out(vf_instance_t *vf){




More information about the MPlayer-cvslog mailing list