diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-03-27 08:21:02 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-03-28 09:28:47 +0200 |
commit | 3c6607eb6f946ed3e108db3f0694cab7e5a5df7e (patch) | |
tree | 64d66ba25109f411c41dd4e769ea5e4fc27942ee /libavformat/sapenc.c | |
parent | e2e165c00fa0dd45d2fa9a0863190f112accd387 (diff) | |
download | ffmpeg-3c6607eb6f946ed3e108db3f0694cab7e5a5df7e.tar.gz |
avcodec_encode_{audio,video}: only reallocate output packet when it has non-zero size.
Otherwise realloc would free it, which would result in double free
later.
Diffstat (limited to 'libavformat/sapenc.c')
0 files changed, 0 insertions, 0 deletions