Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
ffmpeg
Repository
ffmpeg
libavcodec
utils.c
Find file
Blame
History
Permalink
avcodec_encode_{audio,video}: only reallocate output packet when it has non-zero size.
· 3c6607eb
Anton Khirnov
authored
Mar 27, 2012
Otherwise realloc would free it, which would result in double free later.
3c6607eb