Re: [FFmpeg-devel] [PATCH 3/3] vaapi_encode_vp8: memset the the structure to 0

2018-05-07 Thread Xiang, Haihao
On Mon, 2018-05-07 at 21:48 +0100, Mark Thompson wrote: > On 04/05/18 15:41, Haihao Xiang wrote: > > The structure has reserved bytes, it is required to set the reserved > > bytes to 0 for future use. > > > > Signed-off-by: Haihao Xiang > > --- > > libavcodec/vaapi_encode_vp8.c | 2 ++ > > 1 fil

Re: [FFmpeg-devel] [PATCH 3/3] vaapi_encode_vp8: memset the the structure to 0

2018-05-07 Thread Mark Thompson
On 04/05/18 15:41, Haihao Xiang wrote: > The structure has reserved bytes, it is required to set the reserved > bytes to 0 for future use. > > Signed-off-by: Haihao Xiang > --- > libavcodec/vaapi_encode_vp8.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/vaapi_encode_vp8

[FFmpeg-devel] [PATCH 3/3] vaapi_encode_vp8: memset the the structure to 0

2018-05-04 Thread Haihao Xiang
The structure has reserved bytes, it is required to set the reserved bytes to 0 for future use. Signed-off-by: Haihao Xiang --- libavcodec/vaapi_encode_vp8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/vaapi_encode_vp8.c b/libavcodec/vaapi_encode_vp8.c index b4c5521d1f..a2e8