mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-22 04:38:37 +00:00
examples: Don't call deprecated functions which don't do anything
This commit is contained in:
parent
c69054fa24
commit
10bcc41bb4
20 changed files with 0 additions and 40 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue