summaryrefslogtreecommitdiff
path: root/doc/examples/vaapi_encode.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/vaapi_encode.c')
-rw-r--r--doc/examples/vaapi_encode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/examples/vaapi_encode.c b/doc/examples/vaapi_encode.c
index 6425b1c98c..3bdc62bef3 100644
--- a/doc/examples/vaapi_encode.c
+++ b/doc/examples/vaapi_encode.c
@@ -125,8 +125,6 @@ int main(int argc, char *argv[])
goto close;
}
- avcodec_register_all();
-
err = av_hwdevice_ctx_create(&hw_device_ctx, AV_HWDEVICE_TYPE_VAAPI,
NULL, NULL, 0);
if (err < 0) {