[FFmpeg-cvslog] r24138 - in trunk/libavcodec: libxvid_internal.h libxvidff.c

mru subversion
Fri Jul 9 12:53:36 CEST 2010


Author: mru
Date: Fri Jul  9 12:53:36 2010
New Revision: 24138

Log:
libxvid: add some const fixing a warning

Modified:
   trunk/libavcodec/libxvid_internal.h
   trunk/libavcodec/libxvidff.c

Modified: trunk/libavcodec/libxvid_internal.h
==============================================================================
--- trunk/libavcodec/libxvid_internal.h	Fri Jul  9 12:53:30 2010	(r24137)
+++ trunk/libavcodec/libxvid_internal.h	Fri Jul  9 12:53:36 2010	(r24138)
@@ -27,6 +27,6 @@
  */
 
 
-int ff_tempfile(char *prefix, char **filename);
+int ff_tempfile(const char *prefix, char **filename);
 
 #endif /* AVCODEC_LIBXVID_INTERNAL_H */

Modified: trunk/libavcodec/libxvidff.c
==============================================================================
--- trunk/libavcodec/libxvidff.c	Fri Jul  9 12:53:30 2010	(r24137)
+++ trunk/libavcodec/libxvidff.c	Fri Jul  9 12:53:36 2010	(r24138)
@@ -85,7 +85,7 @@ void xvid_correct_framerate(AVCodecConte
  * *prefix can be a character constant; *filename will be allocated internally.
  * @return file descriptor of opened file (or -1 on error)
  * and opened file name in **filename. */
-int ff_tempfile(char *prefix, char **filename) {
+int ff_tempfile(const char *prefix, char **filename) {
     int fd=-1;
 #if !HAVE_MKSTEMP
     *filename = tempnam(".", prefix);



More information about the ffmpeg-cvslog mailing list