Changeset 3c6607eb in ffmpeg

Timestamp:
Mar 28, 2012, 7:28:47 AM (13 years ago)
Author:
Anton Khirnov <anton@khirnov.net>
Branches:
master
Children:
a839dbb9
Parents:
e2e165c0
git-author:
Anton Khirnov <anton@khirnov.net> (03/27/12 06:21:02)
git-committer:
Anton Khirnov <anton@khirnov.net> (03/28/12 07:28:47)
Message:

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.