diff options
author | Mark Thompson <sw@jkqxz.net> | 2016-05-18 10:58:56 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2016-05-27 10:56:45 +0100 |
commit | 2bfa067d0b636e7b2004fb0ad5a53d0d48c6de32 (patch) | |
tree | 67bf6b90a4d302ae890a9adda95f97b793b4a83e /libavcodec/pamenc.c | |
parent | 6641819feedb086ebba3d2be89b8d33980f367e1 (diff) | |
download | ffmpeg-2bfa067d0b636e7b2004fb0ad5a53d0d48c6de32.tar.gz |
vaapi_encode: Check config attributes before creating config
This prevents attempts to use unsupported modes, such as low-power
H.264 mode on non-Skylake targets. Also fixes a crash on invalid
configuration, when trying to destroy an invalid VA config/context.
Diffstat (limited to 'libavcodec/pamenc.c')
0 files changed, 0 insertions, 0 deletions