A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ffmpeg.org/pipermail/ffmpeg-devel/2007-January/027746.html below:

[Ffmpeg-devel] use of uninitalized variables in libavcodec/truemotion1.c

[Ffmpeg-devel] use of uninitalized variables in libavcodec/truemotion1.c [Ffmpeg-devel] use of uninitalized variables in libavcodec/truemotion1.cSascha 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4