[Ffmpeg-cvslog] r7963 - in trunk: libavformat/Makefile libavformat/base64.c libavformat/base64.h libavutil/Makefile libavutil/base64.c libavutil/base64.h

diego subversion
Tue Feb 13 09:21:47 CET 2007


Author: diego
Date: Tue Feb 13 09:21:47 2007
New Revision: 7963

Added:
   trunk/libavutil/base64.c
      - copied unchanged from r7959, /trunk/libavformat/base64.c
   trunk/libavutil/base64.h
      - copied, changed from r7959, /trunk/libavformat/base64.h
Removed:
   trunk/libavformat/base64.c
   trunk/libavformat/base64.h
Modified:
   trunk/libavformat/Makefile
   trunk/libavutil/Makefile

Log:
Move base64.[ch] to libavutil.
patch by Carl Eugen Hoyos, cehoyos ag.or at


Modified: trunk/libavformat/Makefile
==============================================================================
--- trunk/libavformat/Makefile	(original)
+++ trunk/libavformat/Makefile	Tue Feb 13 09:21:47 2007
@@ -166,7 +166,7 @@
 ifeq ($(CONFIG_PROTOCOLS),yes)
 OBJS+= file.o
 ifeq ($(CONFIG_NETWORK),yes)
-OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o mpegts.o base64.o rtp_h264.o
+OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o mpegts.o rtp_h264.o
 endif
 endif
 

Modified: trunk/libavutil/Makefile
==============================================================================
--- trunk/libavutil/Makefile	(original)
+++ trunk/libavutil/Makefile	Tue Feb 13 09:21:47 2007
@@ -19,6 +19,7 @@
       lzo.o \
       random.o \
       aes.o \
+      base64.o \
 
 HEADERS = avutil.h common.h mathematics.h integer.h rational.h \
           intfloat_readwrite.h md5.h adler32.h log.h fifo.h lzo.h \

Copied: trunk/libavutil/base64.h (from r7959, /trunk/libavformat/base64.h)
==============================================================================
--- /trunk/libavformat/base64.h	(original)
+++ trunk/libavutil/base64.h	Tue Feb 13 09:21:47 2007
@@ -19,6 +19,15 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-int av_base64_decode(uint8_t * out, const char *in, int out_length);  // param order as strncpy()
-char *av_base64_encode(uint8_t * src, int len);       // src is not a string, it's data.
+/**
+ * decodes base64
+ * param order as strncpy()
+ */
+int av_base64_decode(uint8_t * out, const char *in, int out_length);
+
+/**
+ * encodes base64
+ * @param src data, not a string
+ */
+char *av_base64_encode(uint8_t * src, int len);
 




More information about the ffmpeg-cvslog mailing list