#8125 closed defect (fixed)
unknown type name 'AMFContext1'
Reported by: | Zeranoe | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
AMFContext1 is not defined in amfenc.h, but is references in amfenc.c.
When attemtping to build with AMF support I get:
src/libavcodec/amfenc.c:216:5: error: unknown type name 'AMFContext1'; did you mean 'AMFContext'? 216 | AMFContext1 *context1 = NULL; | ^~~~~~~~~~~ | AMFContext src/libavcodec/amfenc.c:315:32: error: implicit declaration of function 'IID_AMFContext1'; did you mean 'IID_AMFContext'? [-Werror=implicit-function-declaration] 315 | AMFGuid guid = IID_AMFContext1(); | ^~~~~~~~~~~~~~~ | IID_AMFContext src/libavcodec/amfenc.c:315:32: error: invalid initializer src/libavcodec/amfenc.c:319:31: error: request for member 'pVtbl' in something not a structure or union 319 | res = context1->pVtbl->InitVulkan(context1, NULL); | ^~ src/libavcodec/amfenc.c:320:25: error: request for member 'pVtbl' in something not a structure or union 320 | context1->pVtbl->Release(context1); | ^~
This bug was introduced with f8ad2ddd7a51df5d6e768ba2a6f65ee64b94e29b.
Change History (3)
comment:2 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closed, as updating to the git version of AMF resolved the issue.
comment:3 by , 5 years ago
Component: | avcodec → build system |
---|---|
Priority: | important → normal |
Resolution: | invalid → fixed |
Fixed by Hendrik in 4e759b56754a2d9843502c4a177bb66eb95d5ed8
Note:
See TracTickets
for help on using tickets.
You need AMF 1.4.9 or newer, it includes those new structures. Should update the configure requirements.