No description
Find a file
wm4 b9ab59a829 avformat/matroskadec: fix handling of recursive SeekHead elements
When matroska_execute_seekhead() is called, it goes through the list of
seekhead entries and attempts to read elements not read yet. When doing
this, the parser can find further SeekHead elements, and will extend the
matroska->seekhead list. This can lead to a (practically) infinite loop
with certain broken files. (Maybe it can happen even with valid files.
The demuxer doesn't seem to check correctly whether an element has
already been read.)

Fix this by ignoring elements that were added to the seekhead field
during executing seekhead entries.

This does not fix the possible situation when multiple SeekHead elements
after the file header (i.e. occur after the "before_pos" file position)
point to the same elements. These elements will probably be parsed
multiple times, likely leading to bugs.

Fixes ticket #4162.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6551acab68)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-10 02:13:07 +02:00
compat avisynth: Support video input from AviSynth 2.5 properly. 2013-08-18 23:13:27 -04:00
doc update for 2.0.6 2014-11-14 19:35:38 +01:00
libavcodec avcodec/motion_est: use 2x8x8 for interlaced qpel 2015-06-10 02:13:07 +02:00
libavdevice v4l2enc: adding AVClass 2014-07-31 19:06:24 +02:00
libavfilter lavfi/fade: Do not overread input buffer. 2015-05-17 12:51:10 +02:00
libavformat avformat/matroskadec: fix handling of recursive SeekHead elements 2015-06-10 02:13:07 +02:00
libavresample Merge commit '006ec64877' 2013-05-18 11:25:58 +02:00
libavutil avutil/x86/cpu: fix cpuid sub-leaf selection 2014-09-27 13:58:56 +02:00
libpostproc postproc: fix qp count 2014-11-02 02:20:09 +01:00
libswresample swresample/swresample: fix sample drop loop end condition 2014-11-02 02:20:09 +01:00
libswscale swscale/x86/rgb2rgb_template: fix crash with tiny size and nv12 output 2015-06-10 02:13:07 +02:00
presets presets: specify the codecs. 2012-05-04 18:40:36 +02:00
tests postproc/postprocess: fix quant store for fq mode 2014-11-02 02:20:09 +01:00
tools Merge commit 'a4baf96abd' 2013-07-07 11:35:59 +02:00
.gitignore Rename ffadler to ffhash and expand it using the generic hash API 2013-05-16 17:58:56 +02:00
arch.mak Merge commit 'b326755989' 2012-12-08 14:24:16 +01:00
Changelog Changelog: replace next by 2.0 2013-07-10 02:47:10 +02:00
cmdutils.c cmdutils: update year 2014-01-16 16:03:25 +01:00
cmdutils.h Merge commit '636ced8e1d' 2013-07-08 04:34:11 +02:00
cmdutils_common_opts.h cmdutils_common_opts: fix indention of #if 2013-04-11 16:07:46 +02:00
common.mak Merge commit '472391b9a7' 2013-03-28 12:12:38 +01:00
configure configure: add noexecstack to linker options if supported. 2014-09-28 12:11:19 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
COPYING.LGPLv3
CREDITS CREDITS: redirect to Git log, remove current outdated content 2013-01-31 18:02:52 +01:00
ffmpeg.c ffmpeg: Use av_stream_get_parser() to avoid ABI issues 2014-07-15 01:11:38 +02:00
ffmpeg.h ffmpeg: add -apad option which injects a apad filter only in the presence of video streams 2013-05-08 23:55:06 +02:00
ffmpeg_filter.c ffmpeg_filter: fix pointer to local outside scope 2014-06-25 16:35:24 +02:00
ffmpeg_opt.c ffmpeg_opt: Use av_guess_codec() instead of AVOutputFormat->*codec 2014-08-02 03:42:22 +02:00
ffplay.c ffplay: assume 0 stream start time if start time is unset in duration check 2013-07-09 20:19:54 +02:00
ffprobe.c Merge commit '636ced8e1d' 2013-07-08 04:34:11 +02:00
ffserver.c ffserver: strip odd chars from html error messages before sending them back 2013-12-24 01:05:46 +01:00
INSTALL Merge remote branch 'qatar/master' 2011-04-08 02:50:13 +02:00
library.mak Merge commit '472391b9a7' 2013-03-28 12:12:38 +01:00
LICENSE lavfi: add spp filter. 2013-06-14 01:27:22 +02:00
MAINTAINERS MAINTAINERS: add Alexander Strasser for the server 2013-08-10 23:58:48 +02:00
Makefile Merge commit '90f9a5830b' 2013-05-24 13:01:41 +02:00
README README: be a tiny bit more verbose 2012-04-06 10:23:26 +02:00
RELEASE update for 2.0.6 2014-11-14 19:35:38 +01:00
VERSION update for 2.0.6 2014-11-14 19:35:38 +01:00
version.sh version.sh: handle shallow clones and snapshots. 2011-07-22 10:43:59 +02:00

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

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

* Read the documentation in the doc/ directory in git.
  You can also view it online at http://ffmpeg.org/documentation.html

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

* See the LICENSE file.

3) Build and Install
--------------------

* See the INSTALL file.