summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-07-07 01:31:04 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-09 12:20:44 +0200
commitd8dbe20241558a1b4439ac33120caa4dafebf418 (patch)
tree8321c3ef88f4a40e3063b7a81d8ee5d0420d4e1b
parent6a2176aac05e1edbcdf8fb9c26d572d092a00c3c (diff)
libxvid: Add const qualifier to silence compiler warning.
libavcodec/libxvidff.c:752: warning: initialization discards qualifiers from pointer target type
-rw-r--r--libavcodec/libxvidff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libxvidff.c b/libavcodec/libxvidff.c
index fd0aea58fa..3ca4d1b2ec 100644
--- a/libavcodec/libxvidff.c
+++ b/libavcodec/libxvidff.c
@@ -749,7 +749,7 @@ static int xvid_ff_2pass_before(struct xvid_context *ref,
static int xvid_ff_2pass_after(struct xvid_context *ref,
xvid_plg_data_t *param) {
char *log = ref->twopassbuffer;
- char *frame_types = " ipbs";
+ const char *frame_types = " ipbs";
char frame_type;
/* Quick bounds check */