Commit 35a4a7bf authored by faust3's avatar faust3

fix use of uninitialized variables

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7822 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a9384ce6
......@@ -374,10 +374,15 @@ static int truemotion1_decode_header(TrueMotion1Context *s)
if (s->flags & FLAG_SPRITE) {
av_log(s->avctx, AV_LOG_INFO, "SPRITE frame found, please report the sample to the developers\n");
/* FIXME header.width, height, xoffset and yoffset aren't initialized */
#if 0
s->w = header.width;
s->h = header.height;
s->x = header.xoffset;
s->y = header.yoffset;
#else
return -1;
#endif
} else {
s->w = header.xsize;
s->h = header.ysize;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment