[Ffmpeg-devel] [PATCH] get_vlc -> get_vlc2

Benjamin Larsson banan
Sun Jan 8 16:19:27 CET 2006


Michael Niedermayer wrote:

>Hi
>
>On Sun, Jan 08, 2006 at 01:50:32PM +0000, Benjamin Larsson wrote:
>  
>
>>This patch replaces the depricated get_vlc with get_vlc2. h263.c and
>>mpegaudiodec.c are the last files that contain get_vlc. I'll send a
>>patch for those files also if this patch is ok.
>>    
>>
>[...]
>  
>
>>-        code = get_vlc(&s->gb, &s->exp_vlc);
>>+        code = get_vlc2(&s->gb, s->exp_vlc.table, s->exp_vlc.bits, 2);
>>    
>>
>
>replace s->exp_vlc.bits by a constant if possible so gcc can do a few more
>optimizations
>
>[...]
>
>  
>
Ok to commit this ?

MvH
Benjamin Larsson

-- 
"incorrect information" is an oxymoron. Information is, by definition, factual, correct.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vlc2take2.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060108/0e027ae3/attachment.txt>



More information about the ffmpeg-devel mailing list