[Ffmpeg-cvslog] r7876 - trunk/libavformat/avidec.c

Reimar Döffinger Reimar.Doeffinger
Wed Feb 7 20:35:02 CET 2007


Hello,
On Wed, Feb 07, 2007 at 08:27:54PM +0100, Michael Niedermayer wrote:
> On Wed, Feb 07, 2007 at 07:19:39PM +0100, Reimar D?ffinger wrote:
> > On Wed, Feb 07, 2007 at 06:56:31PM +0100, michael wrote:
> > > Author: michael
> > > Date: Wed Feb  7 18:56:31 2007
> > > New Revision: 7876
> > > 
> > > Modified:
> > >    trunk/libavformat/avidec.c
> > > 
> > > Log:
> > > supporting files with A,V,I,0x19  header
> > > 
> > > 
> > > Modified: trunk/libavformat/avidec.c
> > > ==============================================================================
> > > --- trunk/libavformat/avidec.c	(original)
> > > +++ trunk/libavformat/avidec.c	Wed Feb  7 18:56:31 2007
> > > @@ -82,6 +82,9 @@
> > >      avi->riff_end = get_le32(pb);   /* RIFF chunk size */
> > >      avi->riff_end += url_ftell(pb); /* RIFF chunk end */
> > >      tag = get_le32(pb);
> > > +    if(tag == MKTAG('A', 'V', 'I', 0x19))
> > > +        av_log(NULL, AV_LOG_INFO, "file has been generated with a totally broken muxer\n");
> > > +    else
> > 
> > Are you sure it's that? I actually expected that this is some stupid
> > hack to force people to install and use only a specific software.
> > Somehow similar to that format where they put the whole 100 MB MPEG2
> > stream into one AVI data chunk...
> 
> which too is broken and invalid
> 
> and heres the avi spec from MS:
[...]

Really, no disagreement here nor with the commit, my mail was just loud
wondering, like "I wonder if this was supposed to be some poor man's
DRM".
I mean, to me it sounded a bit like you found it possible to be an accident,
which I somehow doubt (though I wonder, can Windows Media Player or some
such play it?)

Greetings,
Reimar D?ffinger




More information about the ffmpeg-cvslog mailing list