Showing the changes to doc/examples/vaapi_encode.c (1 of 20 files). Show all
Unified · Split
| @@ -125,8 +125,6 @@ int main(int argc, char *argv[]) · 124 unmodified lines | ||
| 125 | 125 | goto close; |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | − avcodec_register_all(); | |
| 129 | − | |
| 130 | 128 | err = av_hwdevice_ctx_create(&hw_device_ctx, AV_HWDEVICE_TYPE_VAAPI, |
| 131 | 129 | NULL, NULL, 0); |
| 132 | 130 | if (err < 0) { |