Le quintidi 15 prairial, an CCXXIII, Ganesh Ajjanagadde a écrit :
> 1. using av_assert0() to ensure that array access remains in bounds in
> these few cases. This could lead to performance hit.

Using av_assert1() or av_assert2() will yield a performance hit, but only
when enabled in development builds.

But I agree with Hendrik, it should only be done when the correctness of the
code is not obvious for a reasonably smart human reader. If the compiler is
not smart enough to see it, then it only means it is too early to enable
that warning.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to