gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r9780 - in Extractor: . src/plugins


From: gnunet
Subject: [GNUnet-SVN] r9780 - in Extractor: . src/plugins
Date: Wed, 16 Dec 2009 15:37:47 +0100

Author: grothoff
Date: 2009-12-16 15:37:47 +0100 (Wed, 16 Dec 2009)
New Revision: 9780

Added:
   Extractor/src/plugins/odf_extractor.c
Removed:
   Extractor/src/plugins/ffmpeg/
   Extractor/src/plugins/ffmpeg_distfiles.am
   Extractor/src/plugins/oo/
Modified:
   Extractor/configure.ac
   Extractor/src/plugins/Makefile.am
   Extractor/src/plugins/ole2_extractor.c
Log:
odf

Modified: Extractor/configure.ac
===================================================================
--- Extractor/configure.ac      2009-12-16 14:20:01 UTC (rev 9779)
+++ Extractor/configure.ac      2009-12-16 14:37:47 UTC (rev 9780)
@@ -556,8 +556,6 @@
 src/common/Makefile
 src/main/Makefile
 src/plugins/Makefile
-src/plugins/oo/Makefile
-src/plugins/printable/Makefile
 src/plugins/hash/Makefile
 src/plugins/thumbnailffmpeg/Makefile
 src/test/Makefile

Modified: Extractor/src/plugins/Makefile.am
===================================================================
--- Extractor/src/plugins/Makefile.am   2009-12-16 14:20:01 UTC (rev 9779)
+++ Extractor/src/plugins/Makefile.am   2009-12-16 14:37:47 UTC (rev 9780)
@@ -1,14 +1,13 @@
 include Makefile-plugins.am
-include ffmpeg_distfiles.am
 
-LIBEXT = @LIBEXT@
+SUBDIRS = . 
 
 if HAVE_FFMPEG
-thumbffmpeg=thumbnailffmpeg
+ thumbffmpeg=libextractor_thumbnailffmpeg.la
 endif
 
 if HAVE_LIBRPM
-rpm=libextractor_rpm.la 
+ rpm=libextractor_rpm.la 
 endif
 
 if HAVE_GLIB
@@ -38,10 +37,6 @@
 endif
 endif
 
-if HAVE_PRINTABLE
- printdir=printable
-endif
-
 if HAVE_CXX
 if HAVE_EXIV2
  exiv2=libextractor_exiv2.la
@@ -51,22 +46,16 @@
 endif
 endif
 
-
 if HAVE_MPEG2
- extrampeg = libextractor_mpeg.la
+ mpeg = libextractor_mpeg.la
 endif
 
-# toggle for development
-SUBDIRS = . 
-# SUBDIRS = . $(thumbgtk) $(thumbffmpeg) $(oodir) $(printdir) hash
-
-
 if HAVE_VORBISFILE
- extraogg = libextractor_ogg.la
+ ogg = libextractor_ogg.la
 endif
 
 if HAVE_FLAC
- extraflac = libextractor_flac.la
+ flac = libextractor_flac.la
 endif
 
 if NEED_VORBIS
@@ -77,11 +66,6 @@
  flacoggflag = -logg
 endif
 
-if HAVE_ZLIB
-extraqt = libextractor_qt.la
-oodir = oo
-endif
-
 plugin_LTLIBRARIES = \
   libextractor_applefile.la \
   libextractor_asf.la \
@@ -96,6 +80,7 @@
   libextractor_man.la \
   libextractor_mime.la \
   $(ole2) \
+  libextractor_odf.la \
   $(pdf) \
   $(rpm) \
   $(thumbgtk)
@@ -187,6 +172,14 @@
 libextractor_ole2_la_LDFLAGS = \
   $(PLUGINFLAGS) 
 
+libextractor_odf_la_SOURCES = \
+  odf_extractor.c
+libextractor_odf_la_LDFLAGS = \
+ $(PLUGINFLAGS)
+libextractor_odf_la_LIBADD = \
+ $(top_builddir)/src/common/libextractor_common.la \
+ -lz 
+
 libextractor_pdf_la_SOURCES = \
   pdf_extractor.cc 
 libextractor_pdf_la_LDFLAGS = \
@@ -213,9 +206,13 @@
 
 
 
+
+# stuff below still needs to be ported to 0.6.x
+
+# SUBDIRS = . $(thumbffmpeg) hash
+
+
 OLD_LIBS = \
-  $(pdfplugin) \
-  libextractor_elf.la \
   $(extraflac) \
   libextractor_flv.la \
   libextractor_id3v2.la \
@@ -313,14 +310,12 @@
 libextractor_id3v24_la_LIBADD = \
   $(top_builddir)/src/common/libextractor_common.la
 
-if HAVE_ZLIB
 libextractor_tar_la_SOURCES = \
   tarextractor.c 
 libextractor_tar_la_LDFLAGS = \
   $(PLUGINFLAGS)
 libextractor_tar_la_LIBADD = \
   $(top_builddir)/src/main/libextractor.la -lz
-endif
 
 libextractor_tiff_la_SOURCES = \
   tiffextractor.c 
@@ -348,7 +343,6 @@
 libextractor_real_la_LDFLAGS = \
   $(PLUGINFLAGS)
 
-if HAVE_MPEG2
 libextractor_mpeg_la_SOURCES = \
   mpegextractor.c 
 libextractor_mpeg_la_LDFLAGS = \
@@ -356,7 +350,6 @@
 libextractor_mpeg_la_LIBADD = \
   -lmpeg2 \
   $(top_builddir)/src/main/libextractor.la
-endif
 
 libextractor_riff_la_SOURCES = \
   riffextractor.c 
@@ -367,7 +360,6 @@
   $(LE_LIBINTL) \
   -lm 
 
-if HAVE_ZLIB
 libextractor_png_la_SOURCES = \
   pngextractor.c
 libextractor_png_la_LDFLAGS = \
@@ -376,7 +368,6 @@
   $(top_builddir)/src/common/libextractor_common.la \
   $(top_builddir)/src/main/libextractor.la \
   -lz
-endif
 
 libextractor_sid_la_SOURCES = \
   sidextractor.c 
@@ -424,6 +415,9 @@
   -I$(top_scrdir)/include \
   $(QT_CFLAGS) $(QT_SVG_CFLAGS)
 
+
+# Fixme: is this still working ok? Doubtful!
+
 install-exec-hook:
        mkdir -p $(DESTDIR)$(plugindir) &> /dev/null || true
        rm -f $(DESTDIR)$(plugindir)/libextractor_thumbnail$(LIBEXT)

Deleted: Extractor/src/plugins/ffmpeg_distfiles.am
===================================================================
--- Extractor/src/plugins/ffmpeg_distfiles.am   2009-12-16 14:20:01 UTC (rev 
9779)
+++ Extractor/src/plugins/ffmpeg_distfiles.am   2009-12-16 14:37:47 UTC (rev 
9780)
@@ -1,849 +0,0 @@
-EXTRA_DIST = \
-ffmpeg/COPYING.GPL \
-ffmpeg/COPYING.LGPL \
-ffmpeg/CREDITS \
-ffmpeg/Changelog \
-ffmpeg/Doxyfile \
-ffmpeg/INSTALL \
-ffmpeg/MAINTAINERS \
-ffmpeg/Makefile \
-ffmpeg/README \
-ffmpeg/cmdutils.c \
-ffmpeg/cmdutils.h \
-ffmpeg/common.mak \
-ffmpeg/configure \
-ffmpeg/doc/TODO \
-ffmpeg/doc/avutil.txt \
-ffmpeg/doc/faq.texi \
-ffmpeg/doc/ffmpeg-doc.texi \
-ffmpeg/doc/ffmpeg_powerpc_performance_evaluation_howto.txt \
-ffmpeg/doc/ffplay-doc.texi \
-ffmpeg/doc/ffserver-doc.texi \
-ffmpeg/doc/ffserver.conf \
-ffmpeg/doc/general.texi \
-ffmpeg/doc/hooks.texi \
-ffmpeg/doc/issue_tracker.txt \
-ffmpeg/doc/optimization.txt \
-ffmpeg/doc/snow.txt \
-ffmpeg/doc/soc.txt \
-ffmpeg/doc/texi2pod.pl \
-ffmpeg/ffmpeg.c \
-ffmpeg/ffplay.c \
-ffmpeg/ffserver.c \
-ffmpeg/ffserver.h \
-ffmpeg/libavcodec/4xm.c \
-ffmpeg/libavcodec/8bps.c \
-ffmpeg/libavcodec/8svx.c \
-ffmpeg/libavcodec/Makefile \
-ffmpeg/libavcodec/aac_ac3_parser.c \
-ffmpeg/libavcodec/aac_ac3_parser.h \
-ffmpeg/libavcodec/aac_parser.c \
-ffmpeg/libavcodec/aasc.c \
-ffmpeg/libavcodec/ac3.c \
-ffmpeg/libavcodec/ac3.h \
-ffmpeg/libavcodec/ac3_parser.c \
-ffmpeg/libavcodec/ac3_parser.h \
-ffmpeg/libavcodec/ac3dec.c \
-ffmpeg/libavcodec/ac3dec.h \
-ffmpeg/libavcodec/ac3dec_data.c \
-ffmpeg/libavcodec/ac3dec_data.h \
-ffmpeg/libavcodec/ac3enc.c \
-ffmpeg/libavcodec/ac3tab.c \
-ffmpeg/libavcodec/ac3tab.h \
-ffmpeg/libavcodec/acelp_filters.c \
-ffmpeg/libavcodec/acelp_filters.h \
-ffmpeg/libavcodec/acelp_math.c \
-ffmpeg/libavcodec/acelp_math.h \
-ffmpeg/libavcodec/acelp_pitch_delay.c \
-ffmpeg/libavcodec/acelp_pitch_delay.h \
-ffmpeg/libavcodec/acelp_vectors.c \
-ffmpeg/libavcodec/acelp_vectors.h \
-ffmpeg/libavcodec/adpcm.c \
-ffmpeg/libavcodec/adx.h \
-ffmpeg/libavcodec/adxdec.c \
-ffmpeg/libavcodec/adxenc.c \
-ffmpeg/libavcodec/alac.c \
-ffmpeg/libavcodec/allcodecs.c \
-ffmpeg/libavcodec/alpha/asm.h \
-ffmpeg/libavcodec/alpha/dsputil_alpha.c \
-ffmpeg/libavcodec/alpha/dsputil_alpha_asm.S \
-ffmpeg/libavcodec/alpha/motion_est_alpha.c \
-ffmpeg/libavcodec/alpha/motion_est_mvi_asm.S \
-ffmpeg/libavcodec/alpha/mpegvideo_alpha.c \
-ffmpeg/libavcodec/alpha/regdef.h \
-ffmpeg/libavcodec/alpha/simple_idct_alpha.c \
-ffmpeg/libavcodec/apedec.c \
-ffmpeg/libavcodec/apiexample.c \
-ffmpeg/libavcodec/armv4l/dsputil_arm.c \
-ffmpeg/libavcodec/armv4l/dsputil_arm_s.S \
-ffmpeg/libavcodec/armv4l/dsputil_iwmmxt.c \
-ffmpeg/libavcodec/armv4l/dsputil_iwmmxt_rnd.h \
-ffmpeg/libavcodec/armv4l/float_arm_vfp.c \
-ffmpeg/libavcodec/armv4l/jrevdct_arm.S \
-ffmpeg/libavcodec/armv4l/mathops.h \
-ffmpeg/libavcodec/armv4l/mpegvideo_arm.c \
-ffmpeg/libavcodec/armv4l/mpegvideo_armv5te.c \
-ffmpeg/libavcodec/armv4l/mpegvideo_iwmmxt.c \
-ffmpeg/libavcodec/armv4l/simple_idct_arm.S \
-ffmpeg/libavcodec/armv4l/simple_idct_armv5te.S \
-ffmpeg/libavcodec/armv4l/simple_idct_armv6.S \
-ffmpeg/libavcodec/asv1.c \
-ffmpeg/libavcodec/atrac3.c \
-ffmpeg/libavcodec/atrac3data.h \
-ffmpeg/libavcodec/audioconvert.c \
-ffmpeg/libavcodec/avcodec.h \
-ffmpeg/libavcodec/avs.c \
-ffmpeg/libavcodec/beosthread.c \
-ffmpeg/libavcodec/bethsoftvideo.c \
-ffmpeg/libavcodec/bethsoftvideo.h \
-ffmpeg/libavcodec/bfi.c \
-ffmpeg/libavcodec/bfin/config_bfin.h \
-ffmpeg/libavcodec/bfin/dsputil_bfin.c \
-ffmpeg/libavcodec/bfin/dsputil_bfin.h \
-ffmpeg/libavcodec/bfin/fdct_bfin.S \
-ffmpeg/libavcodec/bfin/idct_bfin.S \
-ffmpeg/libavcodec/bfin/mathops.h \
-ffmpeg/libavcodec/bfin/mpegvideo_bfin.c \
-ffmpeg/libavcodec/bfin/pixels_bfin.S \
-ffmpeg/libavcodec/bfin/vp3_bfin.c \
-ffmpeg/libavcodec/bfin/vp3_idct_bfin.S \
-ffmpeg/libavcodec/bitstream.c \
-ffmpeg/libavcodec/bitstream.h \
-ffmpeg/libavcodec/bitstream_filter.c \
-ffmpeg/libavcodec/bmp.c \
-ffmpeg/libavcodec/bmp.h \
-ffmpeg/libavcodec/bmpenc.c \
-ffmpeg/libavcodec/bytestream.h \
-ffmpeg/libavcodec/c93.c \
-ffmpeg/libavcodec/cabac.c \
-ffmpeg/libavcodec/cabac.h \
-ffmpeg/libavcodec/cavs.c \
-ffmpeg/libavcodec/cavs.h \
-ffmpeg/libavcodec/cavs_parser.c \
-ffmpeg/libavcodec/cavsdata.h \
-ffmpeg/libavcodec/cavsdec.c \
-ffmpeg/libavcodec/cavsdsp.c \
-ffmpeg/libavcodec/cinepak.c \
-ffmpeg/libavcodec/cljr.c \
-ffmpeg/libavcodec/colorspace.h \
-ffmpeg/libavcodec/cook.c \
-ffmpeg/libavcodec/cookdata.h \
-ffmpeg/libavcodec/cscd.c \
-ffmpeg/libavcodec/cyuv.c \
-ffmpeg/libavcodec/dca.c \
-ffmpeg/libavcodec/dca.h \
-ffmpeg/libavcodec/dca_parser.c \
-ffmpeg/libavcodec/dcadata.h \
-ffmpeg/libavcodec/dcahuff.h \
-ffmpeg/libavcodec/dct-test.c \
-ffmpeg/libavcodec/dirac_parser.c \
-ffmpeg/libavcodec/dnxhddata.c \
-ffmpeg/libavcodec/dnxhddata.h \
-ffmpeg/libavcodec/dnxhddec.c \
-ffmpeg/libavcodec/dnxhdenc.c \
-ffmpeg/libavcodec/dpcm.c \
-ffmpeg/libavcodec/dsicinav.c \
-ffmpeg/libavcodec/dsputil.c \
-ffmpeg/libavcodec/dsputil.h \
-ffmpeg/libavcodec/dump_extradata_bsf.c \
-ffmpeg/libavcodec/dv.c \
-ffmpeg/libavcodec/dvbsub.c \
-ffmpeg/libavcodec/dvbsub_parser.c \
-ffmpeg/libavcodec/dvbsubdec.c \
-ffmpeg/libavcodec/dvdata.h \
-ffmpeg/libavcodec/dvdsub_parser.c \
-ffmpeg/libavcodec/dvdsubdec.c \
-ffmpeg/libavcodec/dvdsubenc.c \
-ffmpeg/libavcodec/dxa.c \
-ffmpeg/libavcodec/eacmv.c \
-ffmpeg/libavcodec/elbg.c \
-ffmpeg/libavcodec/elbg.h \
-ffmpeg/libavcodec/error_resilience.c \
-ffmpeg/libavcodec/escape124.c \
-ffmpeg/libavcodec/eval.c \
-ffmpeg/libavcodec/eval.h \
-ffmpeg/libavcodec/faandct.c \
-ffmpeg/libavcodec/faandct.h \
-ffmpeg/libavcodec/faanidct.c \
-ffmpeg/libavcodec/faanidct.h \
-ffmpeg/libavcodec/fdctref.c \
-ffmpeg/libavcodec/fft-test.c \
-ffmpeg/libavcodec/fft.c \
-ffmpeg/libavcodec/ffv1.c \
-ffmpeg/libavcodec/flac.c \
-ffmpeg/libavcodec/flac.h \
-ffmpeg/libavcodec/flacenc.c \
-ffmpeg/libavcodec/flashsv.c \
-ffmpeg/libavcodec/flashsvenc.c \
-ffmpeg/libavcodec/flicvideo.c \
-ffmpeg/libavcodec/fraps.c \
-ffmpeg/libavcodec/g726.c \
-ffmpeg/libavcodec/gif.c \
-ffmpeg/libavcodec/gifdec.c \
-ffmpeg/libavcodec/golomb.c \
-ffmpeg/libavcodec/golomb.h \
-ffmpeg/libavcodec/h261.c \
-ffmpeg/libavcodec/h261.h \
-ffmpeg/libavcodec/h261_parser.c \
-ffmpeg/libavcodec/h261data.h \
-ffmpeg/libavcodec/h261dec.c \
-ffmpeg/libavcodec/h261enc.c \
-ffmpeg/libavcodec/h263.c \
-ffmpeg/libavcodec/h263.h \
-ffmpeg/libavcodec/h263_parser.c \
-ffmpeg/libavcodec/h263_parser.h \
-ffmpeg/libavcodec/h263data.h \
-ffmpeg/libavcodec/h263dec.c \
-ffmpeg/libavcodec/h264.c \
-ffmpeg/libavcodec/h264.h \
-ffmpeg/libavcodec/h264_mp4toannexb_bsf.c \
-ffmpeg/libavcodec/h264_parser.c \
-ffmpeg/libavcodec/h264_parser.h \
-ffmpeg/libavcodec/h264data.h \
-ffmpeg/libavcodec/h264dspenc.c \
-ffmpeg/libavcodec/h264enc.c \
-ffmpeg/libavcodec/h264idct.c \
-ffmpeg/libavcodec/h264pred.c \
-ffmpeg/libavcodec/h264pred.h \
-ffmpeg/libavcodec/huffman.c \
-ffmpeg/libavcodec/huffman.h \
-ffmpeg/libavcodec/huffyuv.c \
-ffmpeg/libavcodec/i386/cavsdsp_mmx.c \
-ffmpeg/libavcodec/i386/cpuid.c \
-ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c \
-ffmpeg/libavcodec/i386/dsputil_h264_template_ssse3.c \
-ffmpeg/libavcodec/i386/dsputil_mmx.c \
-ffmpeg/libavcodec/i386/dsputil_mmx.h \
-ffmpeg/libavcodec/i386/dsputil_mmx_avg.h \
-ffmpeg/libavcodec/i386/dsputil_mmx_qns.h \
-ffmpeg/libavcodec/i386/dsputil_mmx_rnd.h \
-ffmpeg/libavcodec/i386/dsputilenc_mmx.c \
-ffmpeg/libavcodec/i386/fdct_mmx.c \
-ffmpeg/libavcodec/i386/fft_3dn.c \
-ffmpeg/libavcodec/i386/fft_3dn2.c \
-ffmpeg/libavcodec/i386/fft_sse.c \
-ffmpeg/libavcodec/i386/flacdsp_mmx.c \
-ffmpeg/libavcodec/i386/h264_i386.h \
-ffmpeg/libavcodec/i386/h264dsp_mmx.c \
-ffmpeg/libavcodec/i386/idct_mmx.c \
-ffmpeg/libavcodec/i386/idct_mmx_xvid.c \
-ffmpeg/libavcodec/i386/idct_sse2_xvid.c \
-ffmpeg/libavcodec/i386/idct_xvid.h \
-ffmpeg/libavcodec/i386/mathops.h \
-ffmpeg/libavcodec/i386/mmx.h \
-ffmpeg/libavcodec/i386/motion_est_mmx.c \
-ffmpeg/libavcodec/i386/mpegvideo_mmx.c \
-ffmpeg/libavcodec/i386/mpegvideo_mmx_template.c \
-ffmpeg/libavcodec/i386/simple_idct_mmx.c \
-ffmpeg/libavcodec/i386/snowdsp_mmx.c \
-ffmpeg/libavcodec/i386/vc1dsp_mmx.c \
-ffmpeg/libavcodec/i386/vp3dsp_mmx.c \
-ffmpeg/libavcodec/i386/vp3dsp_mmx.h \
-ffmpeg/libavcodec/i386/vp3dsp_sse2.c \
-ffmpeg/libavcodec/i386/vp3dsp_sse2.h \
-ffmpeg/libavcodec/idcinvideo.c \
-ffmpeg/libavcodec/imc.c \
-ffmpeg/libavcodec/imcdata.h \
-ffmpeg/libavcodec/imgconvert.c \
-ffmpeg/libavcodec/imgconvert.h \
-ffmpeg/libavcodec/imgconvert_template.h \
-ffmpeg/libavcodec/imgresample.c \
-ffmpeg/libavcodec/imx_dump_header_bsf.c \
-ffmpeg/libavcodec/indeo2.c \
-ffmpeg/libavcodec/indeo2data.h \
-ffmpeg/libavcodec/indeo3.c \
-ffmpeg/libavcodec/indeo3data.h \
-ffmpeg/libavcodec/interplayvideo.c \
-ffmpeg/libavcodec/intrax8.c \
-ffmpeg/libavcodec/intrax8.h \
-ffmpeg/libavcodec/intrax8dsp.c \
-ffmpeg/libavcodec/intrax8huf.h \
-ffmpeg/libavcodec/jfdctfst.c \
-ffmpeg/libavcodec/jfdctint.c \
-ffmpeg/libavcodec/jpegls.c \
-ffmpeg/libavcodec/jpegls.h \
-ffmpeg/libavcodec/jpeglsdec.c \
-ffmpeg/libavcodec/jpeglsdec.h \
-ffmpeg/libavcodec/jpeglsenc.c \
-ffmpeg/libavcodec/jrevdct.c \
-ffmpeg/libavcodec/kmvc.c \
-ffmpeg/libavcodec/lcl.h \
-ffmpeg/libavcodec/lcldec.c \
-ffmpeg/libavcodec/lclenc.c \
-ffmpeg/libavcodec/liba52.c \
-ffmpeg/libavcodec/libamr.c \
-ffmpeg/libavcodec/libdirac.h \
-ffmpeg/libavcodec/libdirac_libschro.c \
-ffmpeg/libavcodec/libdirac_libschro.h \
-ffmpeg/libavcodec/libdiracdec.c \
-ffmpeg/libavcodec/libdiracenc.c \
-ffmpeg/libavcodec/libfaac.c \
-ffmpeg/libavcodec/libfaad.c \
-ffmpeg/libavcodec/libgsm.c \
-ffmpeg/libavcodec/libmp3lame.c \
-ffmpeg/libavcodec/libschroedinger.c \
-ffmpeg/libavcodec/libschroedinger.h \
-ffmpeg/libavcodec/libschroedingerdec.c \
-ffmpeg/libavcodec/libschroedingerenc.c \
-ffmpeg/libavcodec/libtheoraenc.c \
-ffmpeg/libavcodec/libvorbis.c \
-ffmpeg/libavcodec/libx264.c \
-ffmpeg/libavcodec/libxvid_internal.h \
-ffmpeg/libavcodec/libxvid_rc.c \
-ffmpeg/libavcodec/libxvidff.c \
-ffmpeg/libavcodec/ljpegenc.c \
-ffmpeg/libavcodec/loco.c \
-ffmpeg/libavcodec/lsp.c \
-ffmpeg/libavcodec/lsp.h \
-ffmpeg/libavcodec/lzw.c \
-ffmpeg/libavcodec/lzw.h \
-ffmpeg/libavcodec/lzwenc.c \
-ffmpeg/libavcodec/mace.c \
-ffmpeg/libavcodec/mathops.h \
-ffmpeg/libavcodec/mdct.c \
-ffmpeg/libavcodec/mdec.c \
-ffmpeg/libavcodec/mimic.c \
-ffmpeg/libavcodec/mjpeg.c \
-ffmpeg/libavcodec/mjpeg.h \
-ffmpeg/libavcodec/mjpeg_parser.c \
-ffmpeg/libavcodec/mjpega_dump_header_bsf.c \
-ffmpeg/libavcodec/mjpegbdec.c \
-ffmpeg/libavcodec/mjpegdec.c \
-ffmpeg/libavcodec/mjpegdec.h \
-ffmpeg/libavcodec/mjpegenc.c \
-ffmpeg/libavcodec/mjpegenc.h \
-ffmpeg/libavcodec/mlib/dsputil_mlib.c \
-ffmpeg/libavcodec/mlp_parser.c \
-ffmpeg/libavcodec/mlp_parser.h \
-ffmpeg/libavcodec/mlpdec.c \
-ffmpeg/libavcodec/mmvideo.c \
-ffmpeg/libavcodec/motion-test.c \
-ffmpeg/libavcodec/motion_est.c \
-ffmpeg/libavcodec/motion_est_template.c \
-ffmpeg/libavcodec/motionpixels.c \
-ffmpeg/libavcodec/movsub_bsf.c \
-ffmpeg/libavcodec/mp3_header_compress_bsf.c \
-ffmpeg/libavcodec/mp3_header_decompress_bsf.c \
-ffmpeg/libavcodec/mpc.c \
-ffmpeg/libavcodec/mpc.h \
-ffmpeg/libavcodec/mpc7.c \
-ffmpeg/libavcodec/mpc7data.h \
-ffmpeg/libavcodec/mpc8.c \
-ffmpeg/libavcodec/mpc8data.h \
-ffmpeg/libavcodec/mpc8huff.h \
-ffmpeg/libavcodec/mpcdata.h \
-ffmpeg/libavcodec/mpeg12.c \
-ffmpeg/libavcodec/mpeg12.h \
-ffmpeg/libavcodec/mpeg12data.c \
-ffmpeg/libavcodec/mpeg12data.h \
-ffmpeg/libavcodec/mpeg12decdata.h \
-ffmpeg/libavcodec/mpeg12enc.c \
-ffmpeg/libavcodec/mpeg4audio.c \
-ffmpeg/libavcodec/mpeg4audio.h \
-ffmpeg/libavcodec/mpeg4data.h \
-ffmpeg/libavcodec/mpeg4video_parser.c \
-ffmpeg/libavcodec/mpeg4video_parser.h \
-ffmpeg/libavcodec/mpegaudio.c \
-ffmpeg/libavcodec/mpegaudio.h \
-ffmpeg/libavcodec/mpegaudio_parser.c \
-ffmpeg/libavcodec/mpegaudiodata.c \
-ffmpeg/libavcodec/mpegaudiodata.h \
-ffmpeg/libavcodec/mpegaudiodec.c \
-ffmpeg/libavcodec/mpegaudiodecheader.c \
-ffmpeg/libavcodec/mpegaudiodecheader.h \
-ffmpeg/libavcodec/mpegaudiodectab.h \
-ffmpeg/libavcodec/mpegaudioenc.c \
-ffmpeg/libavcodec/mpegaudiotab.h \
-ffmpeg/libavcodec/mpegvideo.c \
-ffmpeg/libavcodec/mpegvideo.h \
-ffmpeg/libavcodec/mpegvideo_common.h \
-ffmpeg/libavcodec/mpegvideo_enc.c \
-ffmpeg/libavcodec/mpegvideo_parser.c \
-ffmpeg/libavcodec/msmpeg4.c \
-ffmpeg/libavcodec/msmpeg4.h \
-ffmpeg/libavcodec/msmpeg4data.c \
-ffmpeg/libavcodec/msmpeg4data.h \
-ffmpeg/libavcodec/msrle.c \
-ffmpeg/libavcodec/msvideo1.c \
-ffmpeg/libavcodec/nellymoser.c \
-ffmpeg/libavcodec/nellymoser.h \
-ffmpeg/libavcodec/nellymoserdec.c \
-ffmpeg/libavcodec/noise_bsf.c \
-ffmpeg/libavcodec/nuv.c \
-ffmpeg/libavcodec/opt.c \
-ffmpeg/libavcodec/opt.h \
-ffmpeg/libavcodec/os2thread.c \
-ffmpeg/libavcodec/parser.c \
-ffmpeg/libavcodec/parser.h \
-ffmpeg/libavcodec/pcm.c \
-ffmpeg/libavcodec/pcx.c \
-ffmpeg/libavcodec/png.c \
-ffmpeg/libavcodec/png.h \
-ffmpeg/libavcodec/pngdec.c \
-ffmpeg/libavcodec/pngenc.c \
-ffmpeg/libavcodec/pnm.c \
-ffmpeg/libavcodec/pnm.h \
-ffmpeg/libavcodec/pnm_parser.c \
-ffmpeg/libavcodec/pnmenc.c \
-ffmpeg/libavcodec/ppc/check_altivec.c \
-ffmpeg/libavcodec/ppc/dsputil_altivec.c \
-ffmpeg/libavcodec/ppc/dsputil_altivec.h \
-ffmpeg/libavcodec/ppc/dsputil_ppc.c \
-ffmpeg/libavcodec/ppc/dsputil_ppc.h \
-ffmpeg/libavcodec/ppc/fdct_altivec.c \
-ffmpeg/libavcodec/ppc/fft_altivec.c \
-ffmpeg/libavcodec/ppc/float_altivec.c \
-ffmpeg/libavcodec/ppc/gcc_fixes.h \
-ffmpeg/libavcodec/ppc/gmc_altivec.c \
-ffmpeg/libavcodec/ppc/h264_altivec.c \
-ffmpeg/libavcodec/ppc/h264_template_altivec.c \
-ffmpeg/libavcodec/ppc/idct_altivec.c \
-ffmpeg/libavcodec/ppc/imgresample_altivec.c \
-ffmpeg/libavcodec/ppc/imgresample_altivec.h \
-ffmpeg/libavcodec/ppc/int_altivec.c \
-ffmpeg/libavcodec/ppc/mathops.h \
-ffmpeg/libavcodec/ppc/mpegvideo_altivec.c \
-ffmpeg/libavcodec/ppc/snow_altivec.c \
-ffmpeg/libavcodec/ppc/types_altivec.h \
-ffmpeg/libavcodec/ppc/util_altivec.h \
-ffmpeg/libavcodec/ppc/vc1dsp_altivec.c \
-ffmpeg/libavcodec/ps2/dsputil_mmi.c \
-ffmpeg/libavcodec/ps2/idct_mmi.c \
-ffmpeg/libavcodec/ps2/mmi.h \
-ffmpeg/libavcodec/ps2/mpegvideo_mmi.c \
-ffmpeg/libavcodec/pthread.c \
-ffmpeg/libavcodec/ptx.c \
-ffmpeg/libavcodec/qdm2.c \
-ffmpeg/libavcodec/qdm2data.h \
-ffmpeg/libavcodec/qdrw.c \
-ffmpeg/libavcodec/qpeg.c \
-ffmpeg/libavcodec/qtrle.c \
-ffmpeg/libavcodec/qtrleenc.c \
-ffmpeg/libavcodec/ra144.c \
-ffmpeg/libavcodec/ra144.h \
-ffmpeg/libavcodec/ra288.c \
-ffmpeg/libavcodec/ra288.h \
-ffmpeg/libavcodec/rangecoder.c \
-ffmpeg/libavcodec/rangecoder.h \
-ffmpeg/libavcodec/ratecontrol.c \
-ffmpeg/libavcodec/ratecontrol.h \
-ffmpeg/libavcodec/raw.c \
-ffmpeg/libavcodec/raw.h \
-ffmpeg/libavcodec/rawdec.c \
-ffmpeg/libavcodec/rawenc.c \
-ffmpeg/libavcodec/rectangle.h \
-ffmpeg/libavcodec/remove_extradata_bsf.c \
-ffmpeg/libavcodec/resample.c \
-ffmpeg/libavcodec/resample2.c \
-ffmpeg/libavcodec/rl.h \
-ffmpeg/libavcodec/rl2.c \
-ffmpeg/libavcodec/rle.c \
-ffmpeg/libavcodec/rle.h \
-ffmpeg/libavcodec/roqaudioenc.c \
-ffmpeg/libavcodec/roqvideo.c \
-ffmpeg/libavcodec/roqvideo.h \
-ffmpeg/libavcodec/roqvideodec.c \
-ffmpeg/libavcodec/roqvideoenc.c \
-ffmpeg/libavcodec/rpza.c \
-ffmpeg/libavcodec/rtjpeg.c \
-ffmpeg/libavcodec/rtjpeg.h \
-ffmpeg/libavcodec/rv10.c \
-ffmpeg/libavcodec/rv30.c \
-ffmpeg/libavcodec/rv30data.h \
-ffmpeg/libavcodec/rv30dsp.c \
-ffmpeg/libavcodec/rv34.c \
-ffmpeg/libavcodec/rv34.h \
-ffmpeg/libavcodec/rv34data.h \
-ffmpeg/libavcodec/rv34vlc.h \
-ffmpeg/libavcodec/rv40.c \
-ffmpeg/libavcodec/rv40data.h \
-ffmpeg/libavcodec/rv40vlc2.h \
-ffmpeg/libavcodec/s3tc.c \
-ffmpeg/libavcodec/s3tc.h \
-ffmpeg/libavcodec/sgi.h \
-ffmpeg/libavcodec/sgidec.c \
-ffmpeg/libavcodec/sgienc.c \
-ffmpeg/libavcodec/sh4/dsputil_align.c \
-ffmpeg/libavcodec/sh4/dsputil_sh4.c \
-ffmpeg/libavcodec/sh4/idct_sh4.c \
-ffmpeg/libavcodec/sh4/qpel.c \
-ffmpeg/libavcodec/shorten.c \
-ffmpeg/libavcodec/simple_idct.c \
-ffmpeg/libavcodec/simple_idct.h \
-ffmpeg/libavcodec/smacker.c \
-ffmpeg/libavcodec/smc.c \
-ffmpeg/libavcodec/snow.c \
-ffmpeg/libavcodec/snow.h \
-ffmpeg/libavcodec/sonic.c \
-ffmpeg/libavcodec/sp5x.h \
-ffmpeg/libavcodec/sp5xdec.c \
-ffmpeg/libavcodec/sparc/dsputil_vis.c \
-ffmpeg/libavcodec/sparc/simple_idct_vis.c \
-ffmpeg/libavcodec/sparc/vis.h \
-ffmpeg/libavcodec/sunrast.c \
-ffmpeg/libavcodec/svq1.c \
-ffmpeg/libavcodec/svq1.h \
-ffmpeg/libavcodec/svq1_cb.h \
-ffmpeg/libavcodec/svq1_vlc.h \
-ffmpeg/libavcodec/svq1dec.c \
-ffmpeg/libavcodec/svq1enc.c \
-ffmpeg/libavcodec/svq1enc_cb.h \
-ffmpeg/libavcodec/svq3.c \
-ffmpeg/libavcodec/targa.c \
-ffmpeg/libavcodec/targaenc.c \
-ffmpeg/libavcodec/tiertexseqv.c \
-ffmpeg/libavcodec/tiff.c \
-ffmpeg/libavcodec/tiff.h \
-ffmpeg/libavcodec/tiffenc.c \
-ffmpeg/libavcodec/truemotion1.c \
-ffmpeg/libavcodec/truemotion1data.h \
-ffmpeg/libavcodec/truemotion2.c \
-ffmpeg/libavcodec/truespeech.c \
-ffmpeg/libavcodec/truespeech_data.h \
-ffmpeg/libavcodec/tscc.c \
-ffmpeg/libavcodec/tta.c \
-ffmpeg/libavcodec/txd.c \
-ffmpeg/libavcodec/ulti.c \
-ffmpeg/libavcodec/ulti_cb.h \
-ffmpeg/libavcodec/unary.h \
-ffmpeg/libavcodec/utils.c \
-ffmpeg/libavcodec/vb.c \
-ffmpeg/libavcodec/vc1.c \
-ffmpeg/libavcodec/vc1.h \
-ffmpeg/libavcodec/vc1_parser.c \
-ffmpeg/libavcodec/vc1acdata.h \
-ffmpeg/libavcodec/vc1data.c \
-ffmpeg/libavcodec/vc1data.h \
-ffmpeg/libavcodec/vc1dsp.c \
-ffmpeg/libavcodec/vcr1.c \
-ffmpeg/libavcodec/vmdav.c \
-ffmpeg/libavcodec/vmnc.c \
-ffmpeg/libavcodec/vorbis.c \
-ffmpeg/libavcodec/vorbis.h \
-ffmpeg/libavcodec/vorbis_data.c \
-ffmpeg/libavcodec/vorbis_dec.c \
-ffmpeg/libavcodec/vorbis_enc.c \
-ffmpeg/libavcodec/vorbis_enc_data.h \
-ffmpeg/libavcodec/vp3.c \
-ffmpeg/libavcodec/vp3_parser.c \
-ffmpeg/libavcodec/vp3data.h \
-ffmpeg/libavcodec/vp3dsp.c \
-ffmpeg/libavcodec/vp5.c \
-ffmpeg/libavcodec/vp56.c \
-ffmpeg/libavcodec/vp56.h \
-ffmpeg/libavcodec/vp56data.c \
-ffmpeg/libavcodec/vp56data.h \
-ffmpeg/libavcodec/vp5data.h \
-ffmpeg/libavcodec/vp6.c \
-ffmpeg/libavcodec/vp6data.h \
-ffmpeg/libavcodec/vqavideo.c \
-ffmpeg/libavcodec/w32thread.c \
-ffmpeg/libavcodec/wavpack.c \
-ffmpeg/libavcodec/wma.c \
-ffmpeg/libavcodec/wma.h \
-ffmpeg/libavcodec/wmadata.h \
-ffmpeg/libavcodec/wmadec.c \
-ffmpeg/libavcodec/wmaenc.c \
-ffmpeg/libavcodec/wmv2.c \
-ffmpeg/libavcodec/wmv2.h \
-ffmpeg/libavcodec/wmv2dec.c \
-ffmpeg/libavcodec/wmv2enc.c \
-ffmpeg/libavcodec/wnv1.c \
-ffmpeg/libavcodec/ws-snd1.c \
-ffmpeg/libavcodec/xan.c \
-ffmpeg/libavcodec/xiph.c \
-ffmpeg/libavcodec/xiph.h \
-ffmpeg/libavcodec/xl.c \
-ffmpeg/libavcodec/xsubdec.c \
-ffmpeg/libavcodec/xvmc_render.h \
-ffmpeg/libavcodec/xvmcvideo.c \
-ffmpeg/libavcodec/zmbv.c \
-ffmpeg/libavcodec/zmbvenc.c \
-ffmpeg/libavdevice/Makefile \
-ffmpeg/libavdevice/alldevices.c \
-ffmpeg/libavdevice/audio.c \
-ffmpeg/libavdevice/avdevice.h \
-ffmpeg/libavdevice/beosaudio.cpp \
-ffmpeg/libavdevice/bktr.c \
-ffmpeg/libavdevice/dv1394.c \
-ffmpeg/libavdevice/dv1394.h \
-ffmpeg/libavdevice/libdc1394.c \
-ffmpeg/libavdevice/v4l.c \
-ffmpeg/libavdevice/v4l2.c \
-ffmpeg/libavdevice/vfwcap.c \
-ffmpeg/libavdevice/x11grab.c \
-ffmpeg/libavfilter/Makefile \
-ffmpeg/libavfilter/allfilters.c \
-ffmpeg/libavfilter/avfilter.c \
-ffmpeg/libavfilter/avfilter.h \
-ffmpeg/libavfilter/avfiltergraph.c \
-ffmpeg/libavfilter/avfiltergraph.h \
-ffmpeg/libavfilter/defaults.c \
-ffmpeg/libavfilter/formats.c \
-ffmpeg/libavfilter/graphparser.c \
-ffmpeg/libavfilter/graphparser.h \
-ffmpeg/libavformat/4xm.c \
-ffmpeg/libavformat/Makefile \
-ffmpeg/libavformat/adtsenc.c \
-ffmpeg/libavformat/aiff.c \
-ffmpeg/libavformat/allformats.c \
-ffmpeg/libavformat/amr.c \
-ffmpeg/libavformat/apc.c \
-ffmpeg/libavformat/ape.c \
-ffmpeg/libavformat/asf-enc.c \
-ffmpeg/libavformat/asf.c \
-ffmpeg/libavformat/asf.h \
-ffmpeg/libavformat/asfcrypt.c \
-ffmpeg/libavformat/asfcrypt.h \
-ffmpeg/libavformat/au.c \
-ffmpeg/libavformat/avc.c \
-ffmpeg/libavformat/avc.h \
-ffmpeg/libavformat/avformat.h \
-ffmpeg/libavformat/avi.h \
-ffmpeg/libavformat/avidec.c \
-ffmpeg/libavformat/avienc.c \
-ffmpeg/libavformat/avio.c \
-ffmpeg/libavformat/avio.h \
-ffmpeg/libavformat/aviobuf.c \
-ffmpeg/libavformat/avisynth.c \
-ffmpeg/libavformat/avs.c \
-ffmpeg/libavformat/bethsoftvid.c \
-ffmpeg/libavformat/bfi.c \
-ffmpeg/libavformat/c93.c \
-ffmpeg/libavformat/crcenc.c \
-ffmpeg/libavformat/cutils.c \
-ffmpeg/libavformat/daud.c \
-ffmpeg/libavformat/dsicin.c \
-ffmpeg/libavformat/dv.c \
-ffmpeg/libavformat/dv.h \
-ffmpeg/libavformat/dvenc.c \
-ffmpeg/libavformat/dxa.c \
-ffmpeg/libavformat/eacdata.c \
-ffmpeg/libavformat/electronicarts.c \
-ffmpeg/libavformat/ffm.h \
-ffmpeg/libavformat/ffmdec.c \
-ffmpeg/libavformat/ffmenc.c \
-ffmpeg/libavformat/file.c \
-ffmpeg/libavformat/flic.c \
-ffmpeg/libavformat/flv.h \
-ffmpeg/libavformat/flvdec.c \
-ffmpeg/libavformat/flvenc.c \
-ffmpeg/libavformat/framecrcenc.c \
-ffmpeg/libavformat/framehook.c \
-ffmpeg/libavformat/framehook.h \
-ffmpeg/libavformat/gif.c \
-ffmpeg/libavformat/gxf.c \
-ffmpeg/libavformat/gxf.h \
-ffmpeg/libavformat/gxfenc.c \
-ffmpeg/libavformat/http.c \
-ffmpeg/libavformat/idcin.c \
-ffmpeg/libavformat/idroq.c \
-ffmpeg/libavformat/iff.c \
-ffmpeg/libavformat/img2.c \
-ffmpeg/libavformat/ipmovie.c \
-ffmpeg/libavformat/isom.c \
-ffmpeg/libavformat/isom.h \
-ffmpeg/libavformat/libnut.c \
-ffmpeg/libavformat/lmlm4.c \
-ffmpeg/libavformat/matroska.c \
-ffmpeg/libavformat/matroska.h \
-ffmpeg/libavformat/matroskadec.c \
-ffmpeg/libavformat/matroskaenc.c \
-ffmpeg/libavformat/mm.c \
-ffmpeg/libavformat/mmf.c \
-ffmpeg/libavformat/mov.c \
-ffmpeg/libavformat/movenc.c \
-ffmpeg/libavformat/mp3.c \
-ffmpeg/libavformat/mpc.c \
-ffmpeg/libavformat/mpc8.c \
-ffmpeg/libavformat/mpeg.c \
-ffmpeg/libavformat/mpeg.h \
-ffmpeg/libavformat/mpegenc.c \
-ffmpeg/libavformat/mpegts.c \
-ffmpeg/libavformat/mpegts.h \
-ffmpeg/libavformat/mpegtsenc.c \
-ffmpeg/libavformat/mpjpeg.c \
-ffmpeg/libavformat/msnwc_tcp.c \
-ffmpeg/libavformat/mtv.c \
-ffmpeg/libavformat/mvi.c \
-ffmpeg/libavformat/mxf.c \
-ffmpeg/libavformat/network.h \
-ffmpeg/libavformat/nsvdec.c \
-ffmpeg/libavformat/nut.c \
-ffmpeg/libavformat/nut.h \
-ffmpeg/libavformat/nutdec.c \
-ffmpeg/libavformat/nutenc.c \
-ffmpeg/libavformat/nuv.c \
-ffmpeg/libavformat/oggdec.c \
-ffmpeg/libavformat/oggdec.h \
-ffmpeg/libavformat/oggenc.c \
-ffmpeg/libavformat/oggparseflac.c \
-ffmpeg/libavformat/oggparseogm.c \
-ffmpeg/libavformat/oggparsespeex.c \
-ffmpeg/libavformat/oggparsetheora.c \
-ffmpeg/libavformat/oggparsevorbis.c \
-ffmpeg/libavformat/oma.c \
-ffmpeg/libavformat/os_support.c \
-ffmpeg/libavformat/os_support.h \
-ffmpeg/libavformat/psxstr.c \
-ffmpeg/libavformat/pva.c \
-ffmpeg/libavformat/qtpalette.h \
-ffmpeg/libavformat/raw.c \
-ffmpeg/libavformat/raw.h \
-ffmpeg/libavformat/riff.c \
-ffmpeg/libavformat/riff.h \
-ffmpeg/libavformat/rl2.c \
-ffmpeg/libavformat/rm.h \
-ffmpeg/libavformat/rmdec.c \
-ffmpeg/libavformat/rmenc.c \
-ffmpeg/libavformat/rpl.c \
-ffmpeg/libavformat/rtp.c \
-ffmpeg/libavformat/rtp.h \
-ffmpeg/libavformat/rtp_aac.c \
-ffmpeg/libavformat/rtp_aac.h \
-ffmpeg/libavformat/rtp_h264.c \
-ffmpeg/libavformat/rtp_h264.h \
-ffmpeg/libavformat/rtp_internal.h \
-ffmpeg/libavformat/rtp_mpv.c \
-ffmpeg/libavformat/rtp_mpv.h \
-ffmpeg/libavformat/rtpdec.c \
-ffmpeg/libavformat/rtpenc.c \
-ffmpeg/libavformat/rtpenc_h264.c \
-ffmpeg/libavformat/rtpproto.c \
-ffmpeg/libavformat/rtsp.c \
-ffmpeg/libavformat/rtsp.h \
-ffmpeg/libavformat/rtspcodes.h \
-ffmpeg/libavformat/sdp.c \
-ffmpeg/libavformat/segafilm.c \
-ffmpeg/libavformat/sierravmd.c \
-ffmpeg/libavformat/siff.c \
-ffmpeg/libavformat/smacker.c \
-ffmpeg/libavformat/sol.c \
-ffmpeg/libavformat/swf.h \
-ffmpeg/libavformat/swfdec.c \
-ffmpeg/libavformat/swfenc.c \
-ffmpeg/libavformat/tcp.c \
-ffmpeg/libavformat/thp.c \
-ffmpeg/libavformat/tiertexseq.c \
-ffmpeg/libavformat/tta.c \
-ffmpeg/libavformat/txd.c \
-ffmpeg/libavformat/udp.c \
-ffmpeg/libavformat/utils.c \
-ffmpeg/libavformat/vc1test.c \
-ffmpeg/libavformat/voc.c \
-ffmpeg/libavformat/voc.h \
-ffmpeg/libavformat/vocdec.c \
-ffmpeg/libavformat/vocenc.c \
-ffmpeg/libavformat/wav.c \
-ffmpeg/libavformat/wc3movie.c \
-ffmpeg/libavformat/westwood.c \
-ffmpeg/libavformat/wv.c \
-ffmpeg/libavformat/xa.c \
-ffmpeg/libavformat/yuv4mpeg.c \
-ffmpeg/libavutil/Makefile \
-ffmpeg/libavutil/adler32.c \
-ffmpeg/libavutil/adler32.h \
-ffmpeg/libavutil/aes.c \
-ffmpeg/libavutil/aes.h \
-ffmpeg/libavutil/avstring.h \
-ffmpeg/libavutil/avutil.h \
-ffmpeg/libavutil/base64.c \
-ffmpeg/libavutil/base64.h \
-ffmpeg/libavutil/bswap.h \
-ffmpeg/libavutil/common.h \
-ffmpeg/libavutil/crc.c \
-ffmpeg/libavutil/crc.h \
-ffmpeg/libavutil/crc_data.h \
-ffmpeg/libavutil/des.c \
-ffmpeg/libavutil/des.h \
-ffmpeg/libavutil/fifo.c \
-ffmpeg/libavutil/fifo.h \
-ffmpeg/libavutil/integer.c \
-ffmpeg/libavutil/integer.h \
-ffmpeg/libavutil/internal.h \
-ffmpeg/libavutil/intfloat_readwrite.c \
-ffmpeg/libavutil/intfloat_readwrite.h \
-ffmpeg/libavutil/intreadwrite.h \
-ffmpeg/libavutil/lls.c \
-ffmpeg/libavutil/lls.h \
-ffmpeg/libavutil/log.c \
-ffmpeg/libavutil/log.h \
-ffmpeg/libavutil/lzo.c \
-ffmpeg/libavutil/lzo.h \
-ffmpeg/libavutil/mathematics.c \
-ffmpeg/libavutil/mathematics.h \
-ffmpeg/libavutil/md5.c \
-ffmpeg/libavutil/md5.h \
-ffmpeg/libavutil/mem.c \
-ffmpeg/libavutil/mem.h \
-ffmpeg/libavutil/random.c \
-ffmpeg/libavutil/random.h \
-ffmpeg/libavutil/rational.c \
-ffmpeg/libavutil/rational.h \
-ffmpeg/libavutil/rc4.c \
-ffmpeg/libavutil/rc4.h \
-ffmpeg/libavutil/sha1.c \
-ffmpeg/libavutil/sha1.h \
-ffmpeg/libavutil/softfloat.c \
-ffmpeg/libavutil/softfloat.h \
-ffmpeg/libavutil/string.c \
-ffmpeg/libavutil/tree.c \
-ffmpeg/libavutil/tree.h \
-ffmpeg/libavutil/x86_cpu.h \
-ffmpeg/libpostproc/Makefile \
-ffmpeg/libpostproc/postprocess.c \
-ffmpeg/libpostproc/postprocess.h \
-ffmpeg/libpostproc/postprocess_altivec_template.c \
-ffmpeg/libpostproc/postprocess_internal.h \
-ffmpeg/libpostproc/postprocess_template.c \
-ffmpeg/libswscale/Makefile \
-ffmpeg/libswscale/cs_test.c \
-ffmpeg/libswscale/internal_bfin.S \
-ffmpeg/libswscale/rgb2rgb.c \
-ffmpeg/libswscale/rgb2rgb.h \
-ffmpeg/libswscale/rgb2rgb_template.c \
-ffmpeg/libswscale/swscale-example.c \
-ffmpeg/libswscale/swscale.c \
-ffmpeg/libswscale/swscale.h \
-ffmpeg/libswscale/swscale_altivec_template.c \
-ffmpeg/libswscale/swscale_avoption.c \
-ffmpeg/libswscale/swscale_bfin.c \
-ffmpeg/libswscale/swscale_internal.h \
-ffmpeg/libswscale/swscale_template.c \
-ffmpeg/libswscale/yuv2rgb.c \
-ffmpeg/libswscale/yuv2rgb_altivec.c \
-ffmpeg/libswscale/yuv2rgb_bfin.c \
-ffmpeg/libswscale/yuv2rgb_mlib.c \
-ffmpeg/libswscale/yuv2rgb_template.c \
-ffmpeg/libswscale/yuv2rgb_vis.c \
-ffmpeg/output_example.c \
-ffmpeg/subdir.mak \
-ffmpeg/tests/audiogen.c \
-ffmpeg/tests/ffmpeg.regression.ref \
-ffmpeg/tests/ffserver.regression.ref \
-ffmpeg/tests/lena.pnm \
-ffmpeg/tests/libav.regression.ref \
-ffmpeg/tests/regression.sh \
-ffmpeg/tests/rotozoom.c \
-ffmpeg/tests/rotozoom.regression.ref \
-ffmpeg/tests/seek.regression.ref \
-ffmpeg/tests/seek_test.c \
-ffmpeg/tests/seek_test.sh \
-ffmpeg/tests/server-regression.sh \
-ffmpeg/tests/test.conf \
-ffmpeg/tests/tiny_psnr.c \
-ffmpeg/tests/videogen.c \
-ffmpeg/tools/build_avopt \
-ffmpeg/tools/clean-diff \
-ffmpeg/tools/cws2fws.c \
-ffmpeg/tools/pktdumper.c \
-ffmpeg/tools/qt-faststart.c \
-ffmpeg/tools/trasher.c \
-ffmpeg/tools/unwrap-diff \
-ffmpeg/version.sh \
-ffmpeg/vhook/drawtext.c \
-ffmpeg/vhook/fish.c \
-ffmpeg/vhook/imlib2.c \
-ffmpeg/vhook/null.c \
-ffmpeg/vhook/ppm.c \
-ffmpeg/vhook/watermark.c

Copied: Extractor/src/plugins/odf_extractor.c (from rev 9777, 
Extractor/src/plugins/oo/ooextractor.c)
===================================================================
--- Extractor/src/plugins/odf_extractor.c                               (rev 0)
+++ Extractor/src/plugins/odf_extractor.c       2009-12-16 14:37:47 UTC (rev 
9780)
@@ -0,0 +1,292 @@
+/*
+     This file is part of libextractor.
+     (C) 2004, 2009 Vidyut Samanta and Christian Grothoff
+
+     libextractor is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 2, or (at your
+     option) any later version.
+
+     libextractor is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with libextractor; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+#include "platform.h"
+#include <ctype.h>
+#include "extractor.h"
+#include "zlib.h"
+#include "unzip.h"
+
+#define CASESENSITIVITY (0)
+#define MAXFILENAME (256)
+
+
+/**
+ * Name of the file with the meta-data in OO documents.
+ */
+#define METAFILE "meta.xml"
+
+typedef struct {
+  const char * text;
+  enum EXTRACTOR_MetaType type;
+} Matches;
+
+static Matches tmap[] = {
+  { "meta:generator",     EXTRACTOR_METATYPE_CREATED_BY_SOFTWARE },
+  { "meta:page-count",    EXTRACTOR_METATYPE_PAGE_COUNT },
+  { "meta:creation-date", EXTRACTOR_METATYPE_CREATION_DATE },
+  { "dc:date",            EXTRACTOR_METATYPE_UNKNOWN_DATE },
+  { "dc:creator",         EXTRACTOR_METATYPE_CREATOR },
+  { "dc:language",        EXTRACTOR_METATYPE_DOCUMENT_LANGUAGE },
+  { "dc:title",           EXTRACTOR_METATYPE_TITLE },
+  { "dc:description",     EXTRACTOR_METATYPE_DESCRIPTION },
+  { "dc:subject",         EXTRACTOR_METATYPE_SUBJECT },
+  { "meta:keyword",       EXTRACTOR_METATYPE_KEYWORDS },
+  { "meta:user-defined meta:name=\"Info 1\"", EXTRACTOR_METATYPE_COMMENT },
+  { "meta:user-defined meta:name=\"Info 2\"", EXTRACTOR_METATYPE_COMMENT },
+  { "meta:user-defined meta:name=\"Info 3\"", EXTRACTOR_METATYPE_COMMENT },
+  { "meta:user-defined meta:name=\"Info 4\"", EXTRACTOR_METATYPE_COMMENT },
+  { NULL, 0 },
+};
+
+
+/**
+ * returns either zero when mimetype info is missing
+ * or an already malloc'ed string containing the mimetype info.
+ */
+static char *
+libextractor_oo_getmimetype(EXTRACTOR_unzip_file uf) {
+  char filename_inzip[MAXFILENAME];
+  EXTRACTOR_unzip_file_info file_info;
+  char * buf = NULL;
+  size_t buf_size = 0;
+
+  if (EXTRACTOR_UNZIP_OK == EXTRACTOR_common_unzip_local_file(uf,
+                             "mimetype",
+                             CASESENSITIVITY)) {
+    if ( (EXTRACTOR_UNZIP_OK == 
EXTRACTOR_common_unzip_get_current_file_info(uf,
+                                         &file_info,
+                                         filename_inzip,
+                                         sizeof(filename_inzip),
+                                         NULL,
+                                         0,
+                                         NULL,
+                                         0) &&
+         (EXTRACTOR_UNZIP_OK == 
EXTRACTOR_common_unzip_open_current_file3(uf,NULL, NULL, 0)) ) ) {
+      buf_size = file_info.uncompressed_size;
+
+      if (buf_size > 1024) {
+       /* way too large! */
+      } else if (NULL == (buf = malloc(1 + buf_size))) {
+       /* memory exhausted! */
+      } else if (buf_size != (size_t) 
EXTRACTOR_common_unzip_read_current_file(uf,buf,buf_size)) {
+        free(buf);
+        buf = NULL;
+      } else {
+       /* found something */
+        buf[buf_size] = '\0';
+        while ( (0 > buf_size) &&
+               isspace(buf[buf_size - 1]))
+          buf[--buf_size] = '\0';
+        if('\0' == buf[0]) {
+          free(buf);
+          buf = NULL;
+        }
+      }
+    }
+    EXTRACTOR_common_unzip_close_current_file(uf);
+  }
+  return buf;
+}
+
+
+typedef struct Ecls {
+  char * data;
+  size_t size;
+  size_t pos;
+} Ecls;
+
+
+int 
+EXTRACTOR_ole2_extract (const char *data,
+                       size_t size,
+                       EXTRACTOR_MetaDataProcessor proc,
+                       void *proc_cls,
+                       const char *options)
+{
+  char filename_inzip[MAXFILENAME];
+  EXTRACTOR_unzip_file uf;
+  EXTRACTOR_unzip_file_info file_info;
+  char * buf;
+  char * pbuf;
+  size_t buf_size;
+  int i;
+  EXTRACTOR_unzip_filefunc_def io;
+  Ecls cls;
+  char * mimetype;
+
+  if (size < 100)
+    return 0;
+  if ( !( ('P'==data[0]) && ('K'==data[1]) && (0x03==data[2]) && 
(0x04==data[3])) )
+    return 0;
+
+  cls.data = (void*) data;
+  cls.size = size;
+  cls.pos = 0;
+  io.zopen_file = &EXTRACTOR_common_unzip_zlib_open_file_func;
+  io.zread_file = &EXTRACTOR_common_unzip_zlib_read_file_func;
+  io.zwrite_file = NULL;
+  io.ztell_file = &EXTRACTOR_common_unzip_zlib_tell_file_func;
+  io.zseek_file = &EXTRACTOR_common_unzip_zlib_seek_file_func;
+  io.zclose_file = &EXTRACTOR_common_unzip_zlib_close_file_func;
+  io.zerror_file = &EXTRACTOR_common_unzip_zlib_testerror_file_func;
+  io.opaque = &cls;
+
+  uf = EXTRACTOR_common_unzip_open2("ERROR", &io);
+  if (uf == NULL)
+    return 0;
+  mimetype = libextractor_oo_getmimetype(uf);
+  if ( (NULL != mimetype) &&
+       (0 != proc (proc_cls, 
+                  "deb",
+                  EXTRACTOR_METATYPE_MIMETYPE,
+                  EXTRACTOR_METAFORMAT_UTF8,
+                  "text/plain",
+                  mimetype,
+                  strlen (mimetype)+1)) )
+    {
+      EXTRACTOR_common_unzip_close(uf);
+      free (mimetype);
+      return 1;
+    }
+  free (mimetype);
+  if (EXTRACTOR_common_unzip_local_file(uf,
+                   METAFILE,
+                   CASESENSITIVITY) != EXTRACTOR_UNZIP_OK) {
+    EXTRACTOR_common_unzip_close(uf);
+    return 0; /* not found */
+  }
+
+  if (EXTRACTOR_UNZIP_OK != 
+      EXTRACTOR_common_unzip_get_current_file_info(uf,
+                                                  &file_info,
+                                                  filename_inzip,
+                                                  sizeof(filename_inzip),
+                                                  NULL,0,NULL,0)) {
+    EXTRACTOR_common_unzip_close(uf);
+    return 0; /* problems... */
+  }
+
+  if (EXTRACTOR_UNZIP_OK != EXTRACTOR_common_unzip_open_current_file3(uf, 
NULL, NULL, 0)) {
+    EXTRACTOR_common_unzip_close(uf);
+    return 0; /* problems... */
+  }
+
+  buf_size = file_info.uncompressed_size;
+  if (buf_size > 128 * 1024) {
+    EXTRACTOR_common_unzip_close_current_file(uf);
+    EXTRACTOR_common_unzip_close(uf);
+    return 0; /* hardly meta-data! */
+  }
+  buf = malloc(buf_size+1);
+  if (buf == NULL) {
+    EXTRACTOR_common_unzip_close_current_file(uf);
+    EXTRACTOR_common_unzip_close(uf);
+    return 0; /* out of memory */
+  }
+
+  if (buf_size != EXTRACTOR_common_unzip_read_current_file(uf,buf,buf_size)) {
+    free(buf);
+    EXTRACTOR_common_unzip_close_current_file(uf);
+    EXTRACTOR_common_unzip_close(uf);
+    return 0;
+  }
+  EXTRACTOR_common_unzip_close_current_file(uf);
+  /* we don't do "proper" parsing of the meta-data but rather use some 
heuristics
+     to get values out that we understand */
+  buf[buf_size] = '\0';
+  /* printf("%s\n", buf); */
+  /* try to find some of the typical OO xml headers */
+  if ( (strstr(buf, "xmlns:meta=\"http://openoffice.org/2000/meta\"";) != NULL) 
||
+       (strstr(buf, "xmlns:dc=\"http://purl.org/dc/elements/1.1/\"";) != NULL) 
||
+       (strstr(buf, "xmlns:xlink=\"http://www.w3.org/1999/xlink\"";) != NULL) ) 
{
+    /* accept as meta-data */
+    i = -1;
+    while (tmap[++i].text != NULL) {
+      char * spos;
+      char * epos;
+      char needle[256];
+      char * key;
+      int oc;
+
+      pbuf = buf;
+
+      while (1) {
+       strcpy(needle, "<");
+       strcat(needle, tmap[i].text);
+       strcat(needle, ">");
+       spos = strstr(pbuf, needle);
+       if (NULL == spos) {
+       strcpy(needle, tmap[i].text);
+       strcat(needle, "=\"");
+       spos = strstr(pbuf, needle);
+       if (spos == NULL)
+         break;
+       spos += strlen(needle);
+       epos = spos;
+       while ( (epos[0] != '\0') &&
+               (epos[0] != '"') )
+         epos++;
+       } else {
+         oc = 0;
+         spos += strlen(needle);
+         while ( (spos[0] != '\0') &&
+                 ( (spos[0] == '<') ||
+                   (oc > 0) ) ) {
+           if (spos[0] == '<')
+             oc++;
+           if (spos[0] == '>')
+             oc--;
+           spos++;
+         }
+         epos = spos;
+         while ( (epos[0] != '\0') &&
+                 (epos[0] != '<') &&
+                 (epos[0] != '>') ) {
+           epos++;
+         }
+       }
+       if (spos != epos) {
+         key = malloc(1+epos-spos);
+         memcpy(key, spos, epos-spos);
+         key[epos-spos] = '\0';
+         if (0 != proc (proc_cls, 
+                        "odf",
+                        tmap[i].type,
+                        EXTRACTOR_METAFORMAT_UTF8,
+                        "text/plain",
+                        key,
+                        strlen (key)+1))
+           {
+             free(buf);
+             EXTRACTOR_common_unzip_close(uf);
+             return 1;       
+           }
+         pbuf = epos;
+       } else
+         break;
+      }
+    }
+  }
+  free(buf);
+  EXTRACTOR_common_unzip_close(uf);
+  return 0;
+}
+

Modified: Extractor/src/plugins/ole2_extractor.c
===================================================================
--- Extractor/src/plugins/ole2_extractor.c      2009-12-16 14:20:01 UTC (rev 
9779)
+++ Extractor/src/plugins/ole2_extractor.c      2009-12-16 14:37:47 UTC (rev 
9780)
@@ -67,7 +67,7 @@
 }
 
 typedef struct {
-  char * text;
+  const char * text;
   enum EXTRACTOR_MetaType type;
 } Matches;
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]