# HG changeset patch # User mru # Date 1183936494 0 # Node ID 727a49c28c519f72bd16d178542461a45d400446 # Parent a69976bf878caf120e9193dfd8e64fb084a07767 trivial warning fixes diff -r a69976bf878c -r 727a49c28c51 cavs.h --- a/cavs.h Sun Jul 08 13:34:02 2007 +0000 +++ b/cavs.h Sun Jul 08 23:14:54 2007 +0000 @@ -404,8 +404,6 @@ h->col_type = &h->col_type_base[h->mby*h->mb_width + h->mbx]; } -static inline void check_for_slice(AVSContext *h); - /** * save predictors for later macroblocks and increase * macroblock address diff -r a69976bf878c -r 727a49c28c51 h264.c --- a/h264.c Sun Jul 08 13:34:02 2007 +0000 +++ b/h264.c Sun Jul 08 23:14:54 2007 +0000 @@ -5714,7 +5714,6 @@ int index[64]; - int last; int coeff_count = 0; int abslevel1 = 1; diff -r a69976bf878c -r 727a49c28c51 mpegvideo.h --- a/mpegvideo.h Sun Jul 08 13:34:02 2007 +0000 +++ b/mpegvideo.h Sun Jul 08 23:14:54 2007 +0000 @@ -871,7 +871,7 @@ int ff_h263_get_gob_height(MpegEncContext *s); void ff_mpeg4_init_direct_mv(MpegEncContext *s); int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my); -int ff_h263_round_chroma(int x); +inline int ff_h263_round_chroma(int x); void ff_h263_encode_motion(MpegEncContext * s, int val, int f_code); diff -r a69976bf878c -r 727a49c28c51 snow.c --- a/snow.c Sun Jul 08 13:34:02 2007 +0000 +++ b/snow.c Sun Jul 08 23:14:54 2007 +0000 @@ -2350,7 +2350,7 @@ } } -static void mc_block(uint8_t *dst, uint8_t *src, uint8_t *tmp, int stride, int b_w, int b_h, int dx, int dy){ +static void mc_block(uint8_t *dst, const uint8_t *src, uint8_t *tmp, int stride, int b_w, int b_h, int dx, int dy){ int x, y; START_TIMER for(y=0; y < b_h+5; y++){ @@ -2420,7 +2420,7 @@ } #define mca(dx,dy,b_w)\ -static void mc_block_hpel ## dx ## dy ## b_w(uint8_t *dst, uint8_t *src, int stride, int h){\ +static void mc_block_hpel ## dx ## dy ## b_w(uint8_t *dst, const uint8_t *src, int stride, int h){\ uint8_t tmp[stride*(b_w+5)];\ assert(h==b_w);\ mc_block(dst, src-2-2*stride, tmp, stride, b_w, b_w, dx, dy);\