Showing the changes to doc/examples/vaapi_transcode.c (1 of 20 files). Show all
Unified · Split
| @@ -238,8 +238,6 @@ int main(int argc, char **argv) · 237 unmodified lines | ||
| 238 | 238 | return -1; |
| 239 | 239 | } |
| 240 | 240 | |
| 241 | − av_register_all(); | |
| 242 | − | |
| 243 | 241 | ret = av_hwdevice_ctx_create(&hw_device_ctx, AV_HWDEVICE_TYPE_VAAPI, NULL, NULL, 0); |
| 244 | 242 | if (ret < 0) { |
| 245 | 243 | fprintf(stderr, "Failed to create a VAAPI device. Error code: %s\n", av_err2str(ret)); |