[Ffmpeg-cvslog] r7575 - trunk/libavutil/fifo.c

michael subversion
Wed Jan 17 21:14:03 CET 2007


Author: michael
Date: Wed Jan 17 21:14:02 2007
New Revision: 7575

Modified:
   trunk/libavutil/fifo.c

Log:
simpler branch structure in init (16 bytes smaller object file)


Modified: trunk/libavutil/fifo.c
==============================================================================
--- trunk/libavutil/fifo.c	(original)
+++ trunk/libavutil/fifo.c	Wed Jan 17 21:14:02 2007
@@ -26,9 +26,9 @@
 {
     f->wptr = f->rptr =
     f->buffer = av_malloc(size);
+    f->end = f->buffer + size;
     if (!f->buffer)
         return -1;
-    f->end = f->buffer + size;
     return 0;
 }
 




More information about the ffmpeg-cvslog mailing list