diff options
Diffstat (limited to 'libavcodec/libxvid_rc.c')
-rw-r--r-- | libavcodec/libxvid_rc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/libxvid_rc.c b/libavcodec/libxvid_rc.c index 4a5842f973..75f12ac1b4 100644 --- a/libavcodec/libxvid_rc.c +++ b/libavcodec/libxvid_rc.c @@ -23,6 +23,7 @@ #include "config.h" #include <xvid.h> #include <unistd.h> +#include "libavutil/attributes.h" #include "libavutil/file.h" #include "avcodec.h" #include "libxvid.h" @@ -31,7 +32,8 @@ #undef NDEBUG #include <assert.h> -int ff_xvid_rate_control_init(MpegEncContext *s){ +av_cold int ff_xvid_rate_control_init(MpegEncContext *s) +{ char *tmp_name; int fd, i; xvid_plg_create_t xvid_plg_create = { 0 }; |