[Ffmpeg-devel] Re: [PATCH] mov stsd audio version 2
Sat Mar 4 01:52:40 CET 2006
On Fri, Mar 03, 2006 at 04:35:47PM -0800, Corey Hickey wrote:
> Baptiste COUDURIER wrote:
> >>I'm not sure how, but if the chars were read into a double
> >>(endian-switched if necessary) and then cast to int it should work
> >>properly. Reading the value into a double is the hard part, though,
> >>since you can't use bitwise operators (and, even so, is a double
> >>universally 64-bit?). The conversion might have to be done manually.
> > Maybe av_int2dbl ?
> Nice. I didn't find that earlier. :)
> > I tried this way and it seems to be better. Patch attached. What do you
> > think ?
> Works fine for me.
well then commit it ...
More information about the ffmpeg-devel