diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-09 14:53:36 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-09 14:53:36 +0400 |
commit | 9ebf4fb6605abad13830a7e384d07379ca75051b (patch) | |
tree | 88de0314d8e2ea2a8827364c357208c6034f5537 /libavcodec/libxvidff.c | |
parent | a30b33606193388d01b33db72d4e0351c5ec279f (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libxvidff.c b/libavcodec/libxvidff.c index 834e02d25c..97e0d0c6e8 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); |