[Ffmpeg-cvslog] Re: r5909 - trunk/libavformat/mxf.c

Michael Niedermayer michaelni
Thu Aug 3 17:21:51 CEST 2006


Hi

On Thu, Aug 03, 2006 at 05:06:49PM +0200, Baptiste Coudurier wrote:
> Hi
> 
> Michael Niedermayer wrote:
> >> [...]
> >> +static offset_t mxf_header_offset = 0;
> > 
> > non constant global and static variables are forbidden as they break 
> > multithreaded apps
> > 
> > [...]
> 
> Hummm I was fearing something like that.
> What about having a priv_data field on AVProbeData which contain private
> demuxer context ?

no accpetable (see below why)


> 
> Must I reparse the head of the file ?

yes, a application could skip the probe or even probe all files
in a directory and then demux them all one by one or ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-cvslog mailing list