On 15/10/14 07:26, Anton Khirnov wrote:
An array with the size 1 is exactly the same thing as a scalar,
Sadly not, it is pretty the same for most purposes though.
so you're not changing anything.
As I said from start pretty much I'm not.
And since accessing beyond the first element is just as undefined after the patch as before, I really do not think it can fix any segfaults.
With the patch would cause a segfault, while in the current situation the odds it could happily land in some allocated memory would be much higher.
It is all theory since sdl doesn't support planar audio and we are forcing the format.
So, as said, the patch can be dropped and coverity silenced. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
