aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/lossless_videoencdsp_init.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-15 03:44:52 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:20:59 +0100
commit99812e2355deac2a84025503a6429da449b7b204 (patch)
tree4e1099b8190345ac31a63eed48a6fdb215bcf989 /libavcodec/x86/lossless_videoencdsp_init.c
parentd711b5698544a6a23f185c085621b8f7fe99800a (diff)
downloadffmpeg-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/x86/lossless_videoencdsp_init.c')
0 files changed, 0 insertions, 0 deletions