[FFmpeg-devel] [PATCH]Fix flac with high lpc precision

Carl Eugen Hoyos cehoyos at ag.or.at
Fri May 15 11:27:47 CEST 2015


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



More information about the ffmpeg-devel mailing list