diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-02-07 19:36:57 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-02-09 21:38:42 +0000 |
commit | 10bcc41bb40ba479bfc5ad29b1650a6b335437a8 (patch) | |
tree | 69a6e60a893240e30d840d1468670e8e987113fa /doc/examples/hw_decode.c | |
parent | c69054fa24f5125eea3c817e8a76fe6422ea165d (diff) |
examples: Don't call deprecated functions which don't do anything
Diffstat (limited to 'doc/examples/hw_decode.c')
-rw-r--r-- | doc/examples/hw_decode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/examples/hw_decode.c b/doc/examples/hw_decode.c index 83a5808bf7..14fe08b374 100644 --- a/doc/examples/hw_decode.c +++ b/doc/examples/hw_decode.c @@ -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]); |