[FFmpeg-cvslog] r11690 - trunk/libavcodec/h263.c

Rich Felker dalias
Thu Jan 31 16:58:06 CET 2008


On Thu, Jan 31, 2008 at 11:11:12AM +0100, Reimar D?ffinger wrote:
> Hello,
> On Thu, Jan 31, 2008 at 01:28:41AM -0500, Rich Felker wrote:
> > On Wed, Jan 30, 2008 at 09:32:35PM -0800, Mike Melanson wrote:
> > > Rich Felker wrote:
> > > >> Maybe thread-local storage? :)
> > > > 
> > > > Umm, the whole point was about valid C. There is no such thing in the
> > > > C language and even if there were, its performance is MUCH worse than
> > > > normal variables. Also it does not solve the reentrancy problem; for
> > > > example, using a decoder from a signal handler would not be safe.
> > > 
> > > Yeah, I know. I just wanted to see your head explode. :) I hope there's 
> > > some reasonable solution for making this warning go away so we can raise 
> > > the S/N ratio on our stderr.
> > 
> > Reporting the bug to the gcc maintainers, perhaps? :)
> 
> Well, at least implementing an __attribute__((initialized)) or so should
> be possible for them...

They'll claim they already have that, in the form of the
self-initialization hack which is both confusing and nonsensical..

Rich




More information about the ffmpeg-cvslog mailing list