mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-11 06:58:18 +00:00
an alloc func failing should give ENOMEM anyway.
Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8f42f5238e
commit
66d49636c7
@ -57,7 +57,7 @@ int frame_hook_add(int argc, char *argv[])
|
|||||||
|
|
||||||
fhe = av_mallocz(sizeof(*fhe));
|
fhe = av_mallocz(sizeof(*fhe));
|
||||||
if (!fhe) {
|
if (!fhe) {
|
||||||
return errno;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
fhe->Configure = dlsym(loaded, "Configure");
|
fhe->Configure = dlsym(loaded, "Configure");
|
||||||
|
Loading…
Reference in New Issue
Block a user