History

examples: Don't call deprecated functions which don't do anything

Mark Thompson committed 8 years ago

Commit 10bcc411 parent c69054f20 files · +0 −40Browse files

Showing the changes to doc/examples/vaapi_encode.c (1 of 20 files). Show all

Unified · Split

doc/examples/vaapi_encode.c+0−2
@@ -125,8 +125,6 @@ int main(int argc, char *argv[]) · 124 unmodified lines
125 goto close;125 goto close;
126 }126 }
127 127
128 avcodec_register_all();
129
130 err = av_hwdevice_ctx_create(&hw_device_ctx, AV_HWDEVICE_TYPE_VAAPI,128 err = av_hwdevice_ctx_create(&hw_device_ctx, AV_HWDEVICE_TYPE_VAAPI,
131 NULL, NULL, 0);129 NULL, NULL, 0);
132 if (err < 0) {130 if (err < 0) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t