]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove useless initializations.
authorbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 30 Sep 2008 11:46:37 +0000 (11:46 +0000)
committerbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 30 Sep 2008 11:46:37 +0000 (11:46 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15477 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/indeo3.c

index 3d5a568c9e617e8865afc498ffe219f831f0966f..606ff224080ad9a36d2df17afec1be20132a38ec 100644 (file)
@@ -110,13 +110,6 @@ static av_cold int iv_alloc_frames(Indeo3DecodeContext *s)
 
   luma_width   = (s->width  + 3) & (~3);
   luma_height  = (s->height + 3) & (~3);
-
-  s->iv_frame[0].y_w = s->iv_frame[0].y_h =
-    s->iv_frame[0].the_buf_size = 0;
-  s->iv_frame[1].y_w = s->iv_frame[1].y_h =
-    s->iv_frame[1].the_buf_size = 0;
-  s->iv_frame[1].the_buf = NULL;
-
   chroma_width  = ((luma_width >> 2) + 3) & (~3);
   chroma_height = ((luma_height>> 2) + 3) & (~3);
   luma_pixels = luma_width * luma_height;