Le primidi 11 brumaire, an CCXXVI, Clement Boesch a écrit :
> nb_filters and nb_outputs are signed so the counters better be the same
> type.

I re-checked, I think you are mistaken.

> I think we already had that discussion but I'd rather have the counters
> signed so the compiler can exploit the undefined property of signed
> overflow to assume it will never happen.

On the other hand, it forces it to make code that can handle negative as
well, even though the value are positive. I really think it is better to
inform the compiler of the intent, and the intent is that the numbers
are positive, i.e. unsigned.


  Nicolas George

Attachment: signature.asc
Description: Digital signature

ffmpeg-devel mailing list

Reply via email to