Module: libav Branch: master Commit: d8dbe20241558a1b4439ac33120caa4dafebf418
Author: Diego Biurrun <[email protected]> Committer: Diego Biurrun <[email protected]> Date: Thu Jul 7 01:31:04 2011 +0200 libxvid: Add const qualifier to silence compiler warning. libavcodec/libxvidff.c:752: warning: initialization discards qualifiers from pointer target type --- libavcodec/libxvidff.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/libxvidff.c b/libavcodec/libxvidff.c index fd0aea5..3ca4d1b 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 */ _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
