aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/framehook.c
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2007-01-28 09:07:49 +0000
committerFrançois Revol <revol@free.fr>2007-01-28 09:07:49 +0000
commit66d49636c78f86f1d59430da08a992fe53d8e3c3 (patch)
tree5e2c22b9f2b92030fa668c8d64b834daa17e251e /libavformat/framehook.c
parent8f42f5238e7effbf6e41977c5018d0e50770365c (diff)
downloadffmpeg-66d49636c78f86f1d59430da08a992fe53d8e3c3.tar.gz
an alloc func failing should give ENOMEM anyway.
Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/framehook.c')
-rw-r--r--libavformat/framehook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/framehook.c b/libavformat/framehook.c
index 03bbc95f6d..e9a11af9ae 100644
--- a/libavformat/framehook.c
+++ b/libavformat/framehook.c
@@ -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");