[MPlayer-dev-eng] Re: [PATCH] bugfix: lame endianess for Solaris/SPARC
Paul Caprioli
paulcaprioli at yahoo.com
Tue Aug 15 04:15:46 CEST 2006
Yes, AF_FORMAT_S16_NE works correctly on Solaris10
on a SPARC machine.
Thanks,
Paul
--- Guillaume POIRIER <poirierg at gmail.com> wrote:
> Hi,
>
> On 8/9/06, Guillaume POIRIER <gpoirier at mplayerhq.hu>
> wrote:
> > Hi, YAP sent to me in private
> >
> > ---------- Forwarded message ----------
> > From: Paul Caprioli <paulcaprioli at yahoo.com>
> > Date: Aug 9, 2006 6:51 PM
> > Subject: Re: bugfix: lame endianess for
> Solaris/SPARC
> > To: Guillaume POIRIER <gpoirier at mplayerhq.hu>
> >
> > Hi,
> >
> > Sorry, I'm not sure to whom (if anyone) I should
> > send this. I do not wish to join the email list,
> > but I will check the archives on the web.
>
> Please try with AF_FORMAT_S16_NE, as in the attached
> patch, and see if it works
>
> Guillaume
> --
> My dream was to be either a volleyball player or a
> vegetarian, because
> I love animals.
> Gisele Bundchen
>
http://www.brainyquote.com/quotes/quotes/g/giselebund202925.html
> > Index: libmpcodecs/ae_lame.c
>
===================================================================
> --- libmpcodecs/ae_lame.c (révision 19364)
> +++ libmpcodecs/ae_lame.c (copie de travail)
> @@ -96,7 +96,7 @@
>
>
((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nFramesPerBlock=1;
>
> ((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nCodecDelay=0;
>
> - encoder->input_format = AF_FORMAT_S16_LE;
> + encoder->input_format = AF_FORMAT_S16_NE;
> encoder->min_buffer_size = 4608;
> encoder->max_buffer_size = mux_a->h.dwRate *
> mux_a->wf->nChannels * 2;
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the MPlayer-dev-eng
mailing list