diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-28 23:44:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-28 23:44:52 +0000 |
commit | b5a33ff124478d24c17743016c17d200769a8ec5 (patch) | |
tree | 19244ce66c70918074921ad0379ec937fba4bbce /libavcodec/snow.c | |
parent | 7e14b8082d16816151bdecce8ad1c2bbbd003d55 (diff) | |
download | ffmpeg-streaming-b5a33ff124478d24c17743016c17d200769a8ec5.zip ffmpeg-streaming-b5a33ff124478d24c17743016c17d200769a8ec5.tar.gz |
suppress the second warning
Originally committed as revision 12276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r-- | libavcodec/snow.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index c0cbab6..9fcb2d0 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -2891,7 +2891,9 @@ static int get_4block_rd(SnowContext *s, int mb_x, int mb_y, int plane_index){ const int ref_stride= s->current_picture.linesize[plane_index]; uint8_t *dst= s->current_picture.data[plane_index]; uint8_t *src= s-> input_picture.data[plane_index]; - static const IDWTELEM zero_dst[4096]; //FIXME + //FIXME zero_dst is const but add_yblock changes dst if add is 0 (this is never the case for dst=zero_dst + // const has only been removed from zero_dst to suppress a warning + static IDWTELEM zero_dst[4096]; //FIXME const int b_stride = s->b_width << s->block_max_depth; const int w= p->width; const int h= p->height; |