[FFmpeg-devel] [PATCH] Fix MLP decoder CRC 2D initialization

Michael Niedermayer michaelni
Sat Nov 29 16:46:41 CET 2008


On Sat, Nov 29, 2008 at 10:41:24AM +0100, Laurent Aimar wrote:
>  Hi,
> 
>  This patch initializes the CRC 2D table for the MLP decoder.
> Without it, the decoder is usable only if the MLP parser is initialized.
> 
> -- 
> fenrir
> 

> Index: libavcodec/mlp_parser.c
> ===================================================================
> --- libavcodec/mlp_parser.c	(revision 15942)
> +++ libavcodec/mlp_parser.c	(working copy)
> @@ -150,6 +150,12 @@
>      int num_substreams;
>  } MLPParseContext;
>  
> +static int mlp_init(AVCodecParserContext *s)
> +{
> +    ff_mlp_init_crc();
> +    return 0;
> +}

missing av_cold

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081129/37ffa8fb/attachment.pgp>



More information about the ffmpeg-devel mailing list