lavc/vaapi_encode: Change the slice/parameter buffers to dynamic alloc.
authorJun Zhao <mypopydev@gmail.com>
Thu, 24 Aug 2017 01:13:01 +0000 (09:13 +0800)
committerMark Thompson <sw@jkqxz.net>
Mon, 28 Aug 2017 10:49:57 +0000 (11:49 +0100)
commite4a6eb70f471eda36592078e8fa1bad87fc9df73
tree6d6443654f1cc4b75b15d61a4dcfa2ea49dc216d
parent385cafb07ac1e46433931ea9749a134efd7350be
lavc/vaapi_encode: Change the slice/parameter buffers to dynamic alloc.

Change the slice/parameter buffers to be allocated dynamically.

Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h