diff options
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libxvid_internal.h | 2 | ||||
-rw-r--r-- | libavcodec/libxvidff.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libxvid_internal.h b/libavcodec/libxvid_internal.h index 2614f5b..6517f62 100644 --- a/libavcodec/libxvid_internal.h +++ b/libavcodec/libxvid_internal.h @@ -27,6 +27,6 @@ */ -int ff_tempfile(char *prefix, char **filename); +int ff_tempfile(const char *prefix, char **filename); #endif /* AVCODEC_LIBXVID_INTERNAL_H */ 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); |