summaryrefslogtreecommitdiff
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-01-25 15:23:22 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-01-25 15:23:22 +0000
commitb5bfb9f9de911846c43b52a7469b3cb413055492 (patch)
tree22d9eb8f2bb3dfd2a9a36b25e7241c7abba2618e /libavcodec/snow.c
parent200d9a885b64a739e6510a527911bdaee7f2eae0 (diff)
Silence GCC when incorrectly complaining that the "line" variable could be used
without having been initialized. Originally committed as revision 7711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r--libavcodec/snow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index ed21c865d7..19bec9cea5 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -3547,7 +3547,7 @@ static void correlate_slice_buffered(SnowContext *s, slice_buffer * sb, SubBand
// START_TIMER
- DWTELEM * line;
+ DWTELEM * line=0; // silence silly "could be used without having been initialized" warning
DWTELEM * prev;
if (start_y != 0)