[FFmpeg-devel] [PATCH 4/8] Properly check for the last element of enc_multbl.

Måns Rullgård mans
Thu Oct 2 19:01:28 CEST 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> On Thu, Oct 02, 2008 at 04:39:12PM +0200, Diego 'Flameeyes' Petten? wrote:
>> This patch removes a subscript warning issued by ICC, and ensures that
>> the proper byte is accessed even if the enc_mltbl wasn't linear.
>> 
>> Not sure if it's important actually...
>
> iam against this as the code becomes noticeably less readable.
>
> (and btw, ffmpeg depends on arrays being "linear")

Furthermore, the C standard requires it.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list