mirror of https://github.com/FFmpeg/FFmpeg.git
The documentation of the get_encode_buffer() callback does not require to zero the padding; therefore we do it in ff_get_encode_buffer(). This also constitutes an implicit check for whether the buffer is actually allocated with padding. The memset in avcodec_default_get_encode_buffer() is now redundant and has been removed. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/362/head
parent
2a623bacc8
commit
ad184c8e36
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue