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:
François Revol 2007-01-28 09:07:49 +00:00
parent 8f42f5238e
commit 66d49636c7
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ int frame_hook_add(int argc, char *argv[])
fhe = av_mallocz(sizeof(*fhe));
if (!fhe) {
return errno;
return -ENOMEM;
}
fhe->Configure = dlsym(loaded, "Configure");