[FFmpeg-devel] [Spam] Re: [PATCH] av_register_all not always initializes correctly

Michael Niedermayer michaelni
Thu Jan 3 19:21:21 CET 2008


On Thu, Jan 03, 2008 at 09:36:43AM -0300, Gonzalo Garramu?o wrote:
> Michael Niedermayer wrote:
> > 
> > quoting the C spec
> > 
> 
> Can't fight that.  That being said, I'd request for the patch to still 
> be considered as it makes the implicit explicit.

Id definitly like to fully understand why its failing before saying ok to
it. That is if we can improve msvc support with it, that would be nice
but if its just your system/build environment being messed up then iam
of course against it ...

Also we would need to check if it makes the binaries larger on non windows
systems, it shouldnt as gcc should IMO remove the unneeded initialization.


> 
> That being said, the reason for the patch was I was also experiencing 
> somewhat erratic initialization with mingw32 (but when mixing it with 
> msvc).  I'll probably keep doing some more testing as I hunt for the 
> problem I'm seeing with ff_cropTbl.
> 

> Either way... is there a real need for avcodec_register_all() in 
> ffmpeg/ffplay, when av_register_all does it too (and call avcodec_init 
> first, which is probably more correct)?

Probably not, if it works without and there were a patch removing it id
approve it.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker, user
questions for the command line tools ffmpeg, ffplay, ... as well as questions
about how to use libav* should be sent to the ffmpeg-user mailinglist.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080103/847e6f91/attachment.pgp>



More information about the ffmpeg-devel mailing list