[FFmpeg-devel] Uninitialized variable warnings

Michael Niedermayer michaelni at gmx.at
Mon Oct 17 20:44:39 CEST 2011


On Mon, Oct 17, 2011 at 02:06:41PM -0400, Don Moir wrote:
> I get alot of uninitialized variable warnings when compiling ffmpeg.
> 
> I mention this because in one case I know of (libavformat/utils.c seek_frame_binary), either pos_min or pos_max can be uninitialized and then a call is made to av_gen_search with the uninitialized variable.
> 
> Personally, I don't like to see alot of warnings in the output because they tend to wash out warnings that might be important.
> 
> I think at least the uninitialize varaible warnings should be addressed.

absolutely, and patches are always welcome

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111017/086f9a38/attachment.asc>


More information about the ffmpeg-devel mailing list