vaapi_encode: Allocate slice structures and parameter buffers dynamically
authorJun Zhao <mypopydev@gmail.com>
Thu, 24 Aug 2017 01:13:01 +0000 (09:13 +0800)
committerMark Thompson <sw@jkqxz.net>
Tue, 20 Feb 2018 22:04:12 +0000 (22:04 +0000)
commitc8e135ea9225137050a6315fd9ba9c0f242c90b6
treef019e240ae6f9806d321545b7e6fde4971196b09
parent254e728d207c173a3714e6a01c9d68fcb3af8b73
vaapi_encode: Allocate slice structures and parameter buffers dynamically

This removes the arbitrary limit on the allowed number of slices and
parameter buffers.

From ffmpeg commit e4a6eb70f471eda36592078e8fa1bad87fc9df73.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h