Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : eplayer

Dir     : misc/eplayer/src/input/avcodec


Modified Files:
        avcodec.c 


Log Message:
plugin API changes
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/input/avcodec/avcodec.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- avcodec.c   9 Nov 2003 14:43:03 -0000       1.3
+++ avcodec.c   7 Dec 2003 10:32:41 -0000       1.4
@@ -151,7 +151,7 @@
        memset(&inbuf[INBUF_SIZE], 0, FF_INPUT_BUFFER_PADDING_SIZE);
        
        if (!(read = fread(inbuf, 1, INBUF_SIZE, fp)))
-               return 0;
+               return EOF;
        
        while (read > 0) {
                written = 0;
@@ -160,7 +160,7 @@
 
                if (decoded < 0) {
                        fprintf(stderr, "AVCODEC: Error while decoding\n");
-                       return 0;
+                       return EOF;
                }
                
                if (written) {




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to