[MPlayer-dev-eng] [PATCH] Kill a few compiler warnings

André Dahlqvist andre.dahlqvist at telia.com
Fri Oct 26 00:40:38 CEST 2001


Attached are two patches. One of them fixes two 'no newline at end of
file' warnings. The other one is for ffmpeg and fixes a 'deprecated use
of label at end of compound statement' warning.
-- 

André Dahlqvist <andre.dahlqvist at telia.com>
-------------- next part --------------
Index: mpegaudiodec.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpegaudiodec.c,v
retrieving revision 1.5
diff -u -r1.5 mpegaudiodec.c
--- mpegaudiodec.c	2001/10/23 20:20:01	1.5
+++ mpegaudiodec.c	2001/10/24 22:31:30
@@ -2373,6 +2373,7 @@
 	    break;
 	}
     next_data:
+      ;
     }
     return buf_ptr - buf;
 }
-------------- next part --------------
Index: linux/vbelib.c
===================================================================
RCS file: /cvsroot/mplayer/main/linux/vbelib.c,v
retrieving revision 1.7
diff -u -r1.7 vbelib.c
--- linux/vbelib.c	24 Oct 2001 07:51:44 -0000	1.7
+++ linux/vbelib.c	24 Oct 2001 22:29:46 -0000
@@ -406,4 +406,5 @@
   retval = r.eax & 0xffff;
   if(retval == 0x4f) retval = VBE_OK;
   return retval;
-}
\ No newline at end of file
+}
+
Index: linux/vbelib.h
===================================================================
RCS file: /cvsroot/mplayer/main/linux/vbelib.h,v
retrieving revision 1.5
diff -u -r1.5 vbelib.h
--- linux/vbelib.h	24 Oct 2001 09:18:08 -0000	1.5
+++ linux/vbelib.h	24 Oct 2001 22:30:43 -0000
@@ -224,4 +224,5 @@
 /* Standard VGA stuff */
 int vbeWriteString(int x, int y, int attr, char *str);
 
-#endif
\ No newline at end of file
+#endif
+


More information about the MPlayer-dev-eng mailing list