examples: Don't call deprecated functions which don't do anything

This commit is contained in:
Mark Thompson 2018-02-07 19:36:57 +00:00
parent c69054fa24
commit 10bcc41bb4
20 changed files with 0 additions and 40 deletions

View file

@ -238,8 +238,6 @@ int main(int argc, char **argv)
return -1;
}
av_register_all();
ret = av_hwdevice_ctx_create(&hw_device_ctx, AV_HWDEVICE_TYPE_VAAPI, NULL, NULL, 0);
if (ret < 0) {
fprintf(stderr, "Failed to create a VAAPI device. Error code: %s\n", av_err2str(ret));