[FFmpeg-devel] Uninitialized variable warnings

Don Moir donmoir at comcast.net
Mon Oct 17 21:03:09 CEST 2011

>absolutely, and patches are always welcome

Yes for sure on the patches, but the next thing for me is going to be seek 
problems which I believe thats going to take considerable effort.

Fighting with time at moment but at least the thread is started.

Also, with unitialized variables, it may be in some cases a little more 
involved to deal with them and do the right thing about it. Hopefully, the 
majority of them are simple fixes. If anyone recognizes this problem in 
their own code and provides a fix, that would be a good start as well.

> 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.

----- Original Message ----- 
From: "Michael Niedermayer" <michaelni at gmx.at>
To: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
Sent: Monday, October 17, 2011 2:44 PM
Subject: Re: [FFmpeg-devel] Uninitialized variable warnings

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list