diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-15 03:44:52 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:59 +0100 |
commit | 99812e2355deac2a84025503a6429da449b7b204 (patch) | |
tree | 4e1099b8190345ac31a63eed48a6fdb215bcf989 /libavcodec/cook.c | |
parent | d711b5698544a6a23f185c085621b8f7fe99800a (diff) | |
download | ffmpeg-99812e2355deac2a84025503a6429da449b7b204.tar.gz |
avformat/mpegenc: Avoid adding invalid packet to queue
Do this by moving the check before the allocation.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 4294f64d578e14b3f65a6a2cd064461cb74bb122)
Diffstat (limited to 'libavcodec/cook.c')
0 files changed, 0 insertions, 0 deletions