[FFmpeg-cvslog] r11677 - trunk/libavcodec/h263.c

Baptiste Coudurier baptiste.coudurier
Thu Jan 31 02:25:52 CET 2008


Hi,

Michael Niedermayer wrote:
> On Thu, Jan 31, 2008 at 01:05:44AM +0100, bcoudurier wrote:
>> Author: bcoudurier
>> Date: Thu Jan 31 01:05:44 2008
>> New Revision: 11677
>>
>> Log:
>> init to 0, fix warning: h263.c:4730: warning: 'dc_pred_dir' may be used uninitialized in this function
>>
>> Modified:
>>    trunk/libavcodec/h263.c
>>
>> Modified: trunk/libavcodec/h263.c
>> ==============================================================================
>> --- trunk/libavcodec/h263.c	(original)
>> +++ trunk/libavcodec/h263.c	Thu Jan 31 01:05:44 2008
>> @@ -4727,7 +4727,7 @@ static inline int mpeg4_decode_block(Mpe
>>                                int n, int coded, int intra, int rvlc)
>>  {
>>      int level, i, last, run;
>> -    int dc_pred_dir;
>> +    int dc_pred_dir = 0;
>>      RLTable * rl;
>>      RL_VLC_ELEM * rl_vlc;
>>      const uint8_t * scan_table;
> 
> I would consider this function speed critical, after all its executed once per
> 8x8 block, that is 216000 times per second for 640x480 YV12 30fps in the
> worst case.
> 

I was fearing that, reverted.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list