[Ffmpeg-cvslog] r7737 - trunk/libavformat/framehook.c

mmu_man subversion
Sun Jan 28 10:07:50 CET 2007


Author: mmu_man
Date: Sun Jan 28 10:07:49 2007
New Revision: 7737

Modified:
   trunk/libavformat/framehook.c

Log:
an alloc func failing should give ENOMEM anyway.

Modified: trunk/libavformat/framehook.c
==============================================================================
--- trunk/libavformat/framehook.c	(original)
+++ trunk/libavformat/framehook.c	Sun Jan 28 10:07:49 2007
@@ -57,7 +57,7 @@
 
     fhe = av_mallocz(sizeof(*fhe));
     if (!fhe) {
-        return errno;
+        return -ENOMEM;
     }
 
     fhe->Configure = dlsym(loaded, "Configure");




More information about the ffmpeg-cvslog mailing list