mirror of https://github.com/FFmpeg/FFmpeg.git
The data of an AVPacket may be a part of the data of an AVBufferRef; Therefore av_grow_packet() doesn't reallocate if the available space in the actual buffer is sufficient for the enlargement. But given that it also zeroes the padding it also needs to make sure that the buffer is actually writable; this commit implements this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/336/head
parent
09bac9009e
commit
8f51a89d66
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue