Michael Niedermayer <michaelni <at> gmx.at> writes:

> > I failed to implement an autodetection.
> 
> you should be able to autodetect it relatively easily
> 
> "Lavf56.33.101" is stored in the flac file

Apart from the fact that this is not an encoder string:
How would libavcodec know about it?

> >  typedef struct FLACContext {
> > -    FLACSTREAMINFO
> > +    struct FLACStreaminfo flac_stream_info;
> 
> why not just add AVCLass to FLACCOMMONINFO ? or is 
> there a reason why that wouldnt work ?

I thought removing a hack would be better than adding 
another one on top.

Carl Eugen

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

Reply via email to