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

@@ -163,8 +163,6 @@ int main(int argc, char *argv[])
return -1;
}
av_register_all();
type = av_hwdevice_find_type_by_name(argv[1]);
if (type == AV_HWDEVICE_TYPE_NONE) {
fprintf(stderr, "Device type %s is not supported.\n", argv[1]);