]> git.sesse.net Git - ffmpeg/commit
vaapi_encode: Do not zero access unit structures
authorMark Thompson <sw@jkqxz.net>
Mon, 25 Feb 2019 23:24:23 +0000 (23:24 +0000)
committerMark Thompson <sw@jkqxz.net>
Mon, 25 Feb 2019 23:27:11 +0000 (23:27 +0000)
commit9d5ca71ec2efddfa0d30ae88db66fd0bd3f1f33b
tree348e495d6ecece594b94b3435497f25a3ac9fbaa
parentb8c45bbcbc207293f955e838ea66106f4b65b1ac
vaapi_encode: Do not zero access unit structures

Following b8c45bbcbc207293f955e838ea66106f4b65b1ac they contain allocated
unit arrays which will get leaked.  These operations were inconsistently
applied and never actually needed (the old uninit left them in the correct
state), so just drop them entirely.
libavcodec/vaapi_encode_h264.c
libavcodec/vaapi_encode_h265.c