Commit 66d49636 authored by François Revol's avatar François Revol

an alloc func failing should give ENOMEM anyway.

Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8f42f523
...@@ -57,7 +57,7 @@ int frame_hook_add(int argc, char *argv[]) ...@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment