changeset 6426:fd74b42a19f4 libavcodec

suppress the second warning
author michael
date Thu, 28 Feb 2008 23:44:52 +0000
parents 8b119a5a0644
children 4c29380d2511
files snow.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/snow.c	Thu Feb 28 17:01:35 2008 +0000
+++ b/snow.c	Thu Feb 28 23:44:52 2008 +0000
@@ -2891,7 +2891,9 @@
     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;