[Ffmpeg-devel] Weird line in cabac.h

Guillaume Poirier gpoirier
Wed Oct 18 11:38:11 CEST 2006


Hi,

Jindrich Makovicka wrote:

>On Tue, 17 Oct 2006 19:50:07 +0100 (BST)
>M?ns Rullg?rd <mru at inprovide.com> wrote:
>
>  
>
>>Steve Lhomme said:
>>    
>>
>>>Hi everyone,
>>>
>>>We're currently adding most of the current FFMPEG to DrFFMPEG and
>>>MSVC spits a warning on the following line in cabac.h:
>>>      
>>>
>>Telling us the actual warning might have been helpful, don't you
>>think?
>>
>>    
>>
>>>static void put_cabac(CABACContext *c, uint8_t * const state, int
>>>bit){ int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + *state];
>>>
>>>      
>>>
>>[...]
>>    
>>
>
>IMO there should be ff_h264_lps_range[0][2*(c->range&0xC0) + *state];
>                                     ^^^
>or better
>  
>

[..]

Applied

Guillaume




More information about the ffmpeg-devel mailing list