summaryrefslogtreecommitdiffstats
path: root/libavcodec/libxvidff.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-09 10:53:36 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-09 10:53:36 +0000
commit9ebf4fb6605abad13830a7e384d07379ca75051b (patch)
tree88de0314d8e2ea2a8827364c357208c6034f5537 /libavcodec/libxvidff.c
parenta30b33606193388d01b33db72d4e0351c5ec279f (diff)
downloadffmpeg-streaming-9ebf4fb6605abad13830a7e384d07379ca75051b.zip
ffmpeg-streaming-9ebf4fb6605abad13830a7e384d07379ca75051b.tar.gz
libxvid: add some const fixing a warning
Originally committed as revision 24138 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libxvidff.c')
-rw-r--r--libavcodec/libxvidff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libxvidff.c b/libavcodec/libxvidff.c
index 834e02d..97e0d0c 100644
--- a/libavcodec/libxvidff.c
+++ b/libavcodec/libxvidff.c
@@ -85,7 +85,7 @@ void xvid_correct_framerate(AVCodecContext *avctx);
* *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);
OpenPOWER on IntegriCloud