[Ffmpeg-devel] use of uninitalized variables in libavcodec/truemotion1.c
Sascha Sommer
saschasommer
Mon Jan 22 11:26:49 CET 2007
Hi,
in line 377 of libavcodec/truemotion1.c in truemotion_decode_header()
there is
if (s->flags & FLAG_SPRITE) {
av_log(s->avctx, AV_LOG_INFO, "SPRITE frame found, please report the
sample to the developers\n");
s->w = header.width;
s->h = header.height;
s->x = header.xoffset;
s->y = header.yoffset;
However none of these header.* variables have been initialized before.
Shouldn't the function return -1 like it does for other headers when these
SPRITE frames are found?
Regards
Sascha
More information about the ffmpeg-devel
mailing list