aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sapenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-03-27 08:21:02 +0200
committerAnton Khirnov <anton@khirnov.net>2012-03-28 09:28:47 +0200
commit3c6607eb6f946ed3e108db3f0694cab7e5a5df7e (patch)
tree64d66ba25109f411c41dd4e769ea5e4fc27942ee /libavformat/sapenc.c
parente2e165c00fa0dd45d2fa9a0863190f112accd387 (diff)
downloadffmpeg-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