]> git.sesse.net Git - ffmpeg/commit
avcodec/svq3: Use av_fast_padded_malloc() instead of av_fast_malloc()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 20 Mar 2021 17:39:38 +0000 (18:39 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 23 Mar 2021 12:51:18 +0000 (13:51 +0100)
commit3ab1a890e84cd109ad3a87b4c93f8c2de5b27f5a
tree87d0842971088f5e6184dbef1ae40bf323889603
parent84b02bbb78b5aaec0a9de1d0859c4cf7f339a564
avcodec/svq3: Use av_fast_padded_malloc() instead of av_fast_malloc()

It takes care of zeroing padding (which has been forgotten here).
Also rename the size variable to indicate that this is not the size
of the current slice.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/svq3.c