Le quartidi 14 thermidor, an CCXXIII, Reimar Döffinger a écrit :
> If the goal is consistency, wouldn't an API like av_hash be the better
> solution?

Hear, hear!

(Actually, when reading that discussion for the first time, I had not
noticed it was about ciphers and not hashes, and my first reaction was
"there is an unified API already".)

> And yes, on-stack allocations were desired, even though they make changes
> to the structs hard...

Pointing the obvious: I very much doubt we ever need to change the struct
used just for the implementation of a 30-years-old block cipher.

This should be the guiding question: weight the potential hassle of a change
in the struct versus the practical hassle of heap allocations.

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