[FFmpeg-devel] [PATCH] Add a FATE test for the G.722 decoder

Martin Storsjö martin
Fri Sep 10 15:28:13 CEST 2010


On Fri, 10 Sep 2010, M?ns Rullg?rd wrote:

> Martin Storsj? <martin at martin.st> writes:
> 
> > --- a/tests/fate2.mak
> > +++ b/tests/fate2.mak
> > @@ -127,6 +127,9 @@ fate-atrac3-3: REF = $(SAMPLES)/atrac3/mc_sich_at3_132_small.pcm
> >  FATE_TESTS += fate-gsm
> >  fate-gsm: CMD = framecrc -i $(SAMPLES)/gsm/ciao.wav
> >  
> > +FATE_TESTS += fate-g722dec-1
> > +fate-g722dec-1: CMD = framecrc -ar 16000 -i $(SAMPLES)/g722/conf-adminmenu-162.g722
> 
> Why is the -ar option needed?  Is the sample rate not signalled in the
> file at all?

Exactly - the file is plain raw samples and nothing else.

// Martin



More information about the ffmpeg-devel mailing list