[FFmpeg-devel] [PATCH] nellymoser: 44.1khz support
Benjamin Larsson
banan
Wed Nov 14 16:16:44 CET 2007
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.
MvH
Benjamin Larsson
More information about the ffmpeg-devel
mailing list