FFmpeg git repo
Go to file
Kostya Shishkov 23f40a0788 read AVI palette from the end of extradata
Official AVI specification says that stream header in case of video contains
BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently
lavf AVI demuxer thinks otherwise which produces garbage on codecs that have
both palette and extradata (luckily, there are not so many such codecs).

An example of such file is:
http://samples.multimedia.cx/V-codecs/KMVC/baseball1.avi
(IIRC, MSS1 or MSS2 also had such situation but they are still not supported
by lavc).

As a side note, passing palette in extradata as it's been done previously is
not quite correct since proper _extra_ data is surplus bytes in
BITMAPINFOHEADER, not including palette.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-04-24 23:26:45 -07:00
doc Lowercase all ff* program names. 2011-04-23 19:12:24 +02:00
ffpresets Update qmin/qmax values for libx264 presets 2011-02-08 15:59:30 -08:00
libavcodec cosmetics: K&R coding style and more whitespace for Flash Screen Video 2011-04-25 01:50:07 +02:00
libavdevice libavdevice: Define _XOPEN_SOURCE for usleep 2011-04-21 14:13:09 +03:00
libavfilter Reduce picture size for yadif. 2011-04-20 17:38:19 +02:00
libavformat read AVI palette from the end of extradata 2011-04-24 23:26:45 -07:00
libavutil bswap: use native types for av_bwap16(). 2011-04-22 20:05:48 -04:00
libpostproc libpostproc: Remove crufty code disabled by the big bump. 2011-04-20 12:18:47 +02:00
libswscale sws: remove disabled cruft. 2011-04-19 21:50:12 +02:00
tests FATE: allow forcing thread-type when doing threaded fate runs. 2011-04-21 19:36:45 -04:00
tools Replace `` by $() syntax in shell scripts. 2011-04-23 17:45:05 +02:00
.gitignore Remove stray libavcore and _g binary references. 2011-04-23 14:23:20 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS partially rename FFmpeg to Libav 2011-03-16 21:54:39 +01:00
Changelog Remove stray libavcore and _g binary references. 2011-04-23 14:23:20 +02:00
Doxyfile get rid of the last svn mentions 2011-03-18 21:57:38 +01:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
LICENSE cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
Makefile FATE: allow forcing thread-type when doing threaded fate runs. 2011-04-21 19:36:45 -04:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
cmdutils.c Handle unicode file names on windows 2011-04-24 00:05:38 +03:00
cmdutils.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
cmdutils_common_opts.h
common.mak Include dependencies for test programs 2011-03-31 12:01:27 +01:00
configure configure: Add missing libm library dependencies to .pc files. 2011-04-24 17:24:24 +02:00
ffmpeg.c Lowercase all ff* program names. 2011-04-23 19:12:24 +02:00
ffplay.c Lowercase all ff* program names. 2011-04-23 19:12:24 +02:00
ffprobe.c Lowercase all ff* program names. 2011-04-23 19:12:24 +02:00
ffserver.c Lowercase all ff* program names. 2011-04-23 19:12:24 +02:00
ffserver.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
subdir.mak Remove support for stripping executables 2011-03-29 22:05:04 +01:00
version.sh get rid of the last svn mentions 2011-03-18 21:57:38 +01:00

README

Libav README
------------

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

* Read the documentation in the doc/ directory.

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

* See the LICENSE file.