FFmpeg git repo
Go to file
Ronald S. Bultje b8cc5a9fdf Prevent (negative) overflow of rm->remaining_len. This evaluation really only
has two possible outcomes: either len and rm->remaining_len are the same, in
which case we care about the outcome and it is zero, or rm->remaining_len is
currently not in use and we don't care about the outcome. In that case, len
is positive and rm->remaining_len is zero, which leads to a negative result.
This is confusing and could eventually lead to a sign-flip if we skip a lot
of packets (unlikely, but still). Therefore, just always set it to zero.

Originally committed as revision 17919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 22:03:47 +00:00
doc Reorder arguments for av_fifo_generic_read to be more logical and 2009-03-09 17:47:47 +00:00
ffpresets The default subq value in the x264 CLI is now 6, not 5. 2009-01-25 21:28:56 +00:00
libavcodec Cosmetics from Kenan Gillet's 'extract and share weighted_vector_sumf' 2009-03-09 22:00:35 +00:00
libavdevice Fix AVFMT_FLAG_NONBLOCK in alsa 2009-03-07 18:17:13 +00:00
libavfilter Remove old scaler. 2009-03-03 22:51:30 +00:00
libavformat Prevent (negative) overflow of rm->remaining_len. This evaluation really only 2009-03-09 22:03:47 +00:00
libavutil Reorder arguments for av_fifo_generic_read to be more logical and 2009-03-09 17:47:47 +00:00
libpostproc Use directory name as multiple inclusion guard prefix. 2009-02-04 20:31:20 +00:00
libswscale Mask all unused bits for packed pixel format instead of green and alpha mask only. 2009-03-09 17:25:43 +00:00
tests Fix seek regression test broken by r17905, seeking fails completely 2009-03-09 17:44:57 +00:00
tools Detect static prototypes. 2009-02-27 21:11:49 +00:00
COPYING.GPL
COPYING.LGPL
CREDITS it seems I never added myself in there before 2009-02-02 22:45:01 +00:00
Changelog VQF demuxer 2009-03-07 22:42:09 +00:00
Doxyfile HAVE_3DNOW --> HAVE_AMD3DNOW 2009-01-26 08:36:06 +00:00
INSTALL
MAINTAINERS Reorder alphabetically after r17902. 2009-03-09 12:06:47 +00:00
Makefile Allow different executable suffix for host and target 2009-03-08 22:11:24 +00:00
README Update information regarding LGPL libswscale. 2009-02-24 14:53:46 +00:00
cmdutils.c Rename avctx_opts to avcodec_opts. 2009-03-03 23:32:10 +00:00
cmdutils.h Rename avctx_opts to avcodec_opts. 2009-03-03 23:32:10 +00:00
common.mak Compile .S files with $(AS), set it in configure 2009-03-05 21:20:01 +00:00
configure Enable CONFIG_FASTDIV by default 2009-03-09 09:19:11 +00:00
ffmpeg.c Reorder arguments for av_fifo_generic_read to be more logical and 2009-03-09 17:47:47 +00:00
ffplay.c Rename avctx_opts to avcodec_opts. 2009-03-03 23:32:10 +00:00
ffserver.c Bump major version of libavutil due to FIFO fixes. 2009-03-08 14:33:30 +00:00
ffserver.h
output_example.c Make output_example use av_interleaved_write_frame() instead of av_write_frame(). 2009-02-18 11:46:14 +00:00
subdir.mak
version.sh Directly read the version number from a VERSION file; useful for releases. 2009-03-05 23:17:11 +00:00

README

FFmpeg README
-------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* Read the file COPYING.LGPL. FFmpeg and the associated libraries EXCEPT
  for libpostproc are licensed under the GNU Lesser General Public License.

* libpostproc is distributed under the GNU General Public License, see the
  file COPYING.GPL for details. Its compilation and use in FFmpeg is optional.

* libswscale contains some optional processor-specific optimizations that are
  distributed under the GNU General Public License.

* The files libavcodec/x86/idct_mmx.c, libavcodec/x86/h264_deblock_sse2.asm
  and libavcodec/x86/h264_idct_sse2.asm are distributed under the GNU General
  Public License. They are strictly optimizations and their use is optional.

* The file libavcodec/ac3dec.c is distributed under the GNU General Public
  License.  In order for (E-)AC-3 decoding to work you need to enable GPL
  components.

* The file libavdevice/x11grab.c is distributed under the GNU General
  Public License. X11 grabbing is optional.

* The files libavcodec/jfdctfst.c, libavcodec/jfdctint.c, libavcodec/jrevdct.c
  are taken from libjpeg, see the top of the files for licensing details.

* The file libavcodec/fdctref.c is copyrighted by the MPEG Software Simulation
  Group with all rights reserved. It is only used to create a DCT test program
  and not compiled into libavcodec.

* Some external libraries are under GPL. If you wish to use them with FFmpeg,
  you have to configure FFmpeg as GPL as well.