[FFmpeg-devel] [PATCH] nellymoser: 44.1khz support
Alex Beregszaszi
alex
Wed Nov 14 16:32:10 CET 2007
On Wed, 2007-11-14 at 16:16 +0100, Benjamin Larsson wrote:
> Alex Beregszaszi wrote:
> > Hi,
> >
> > attached patch adds support for decoding 44100Hz samples. Confirmed with
> > multiple files, but sadly I cannot (yet) upload them to the samples
> > database.
> >
> > --
> > Alex
> >
> > ------------------------------------------------------------------------
> >
> > Index: nellymoserdec.c
> > ===================================================================
> > --- nellymoserdec.c (revision 11019)
> > +++ nellymoserdec.c (working copy)
> > @@ -379,6 +379,8 @@
> > blocks = 2; break;
> > case 256: // 22050Hz
> > blocks = 4; break;
> > + case 512: // 44100Hz
> > + blocks = 8; break;
> > default:
> > av_log(avctx, AV_LOG_DEBUG, "Tag size %d unknown, report sample!\n", buf_size);
> > return buf_size;
> >
> > ------------------------------------------------------------------------
>
> Patch ok.
Committed.
--
Alex
More information about the ffmpeg-devel
mailing list