lua: Fix FrameDestroy function name
This commit is contained in:
parent
e483c5e48f
commit
48855787a1
1 changed files with 2 additions and 2 deletions
|
@ -258,7 +258,7 @@ namespace {
|
|||
return 1;
|
||||
}
|
||||
|
||||
int FrameDestory(lua_State *L) {
|
||||
int FrameDestroy(lua_State *L) {
|
||||
std::shared_ptr<VideoFrame> frame = check_VideoFrame(L);
|
||||
frame.~shared_ptr<VideoFrame>();
|
||||
return 0;
|
||||
|
@ -282,7 +282,7 @@ namespace {
|
|||
{"height", FrameHeight},
|
||||
{"getPixel", FramePixel},
|
||||
{"getPixelFormatted", FramePixelFormatted},
|
||||
{"__gc", FrameDestory},
|
||||
{"__gc", FrameDestroy},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue