No description
Find a file
wm4 084102cd47 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>
2014-12-07 23:04:42 +01:00
compat compat/strtod: isspace -> av_isspace. 2013-03-04 03:37:36 +01:00
doc update for 1.2.10 2014-11-02 11:34:41 +01:00
libavcodec avcodec/motion_est: use 2x8x8 for interlaced qpel 2014-12-02 00:26:19 +01:00
libavdevice bktr: Fix Fabrice's name 2014-09-07 13:41:13 +02:00
libavfilter avfilter/graphdump: Fix pointer to local outside scope 2014-06-23 18:17:42 +02:00
libavformat avformat/matroskadec: fix handling of recursive SeekHead elements 2014-12-07 23:04:42 +01:00
libavresample Merge commit '45235ac488' 2013-02-24 17:45:06 +01:00
libavutil avutil/x86/cpu: fix cpuid sub-leaf selection 2014-09-27 13:58:59 +02:00
libpostproc postproc: fix qp count 2014-11-02 11:14:25 +01:00
libswresample swresample/swresample: fix sample drop loop end condition 2014-10-06 01:31:39 +02:00
libswscale swscale/x86/rgb2rgb_template: fix crash with tiny size and nv12 output 2014-12-03 20:39:11 +01: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 11:14:25 +01:00
tools lavu: add escape API 2013-03-07 01:12:04 +01:00
.gitignore tools: add seek_print. 2013-02-24 13:12:46 +01:00
arch.mak Merge commit 'b326755989' 2012-12-08 14:24:16 +01:00
Changelog Changelog: update for 1.2.8 2014-08-19 02:13:02 +02:00
cmdutils.c cmdutils: update year 2014-01-16 02:53:32 +01:00
cmdutils.h cmdutils: avtool -> fftool 2013-05-09 22:16:23 +02:00
cmdutils_common_opts.h cmdutils: implement debug/fdebug log level update differently. 2012-12-20 02:38:18 +01:00
common.mak Merge commit '4cc4b33f71' 2013-02-24 15:24:38 +01:00
configure configure: add noexecstack to linker options if supported. 2014-09-28 12:11:22 +02:00
COPYING.GPLv2 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
CREDITS CREDITS: redirect to Git log, remove current outdated content 2013-01-31 18:02:52 +01:00
ffmpeg.c ffmpeg: Fix forcing of the framerate for stream copy on input 2013-11-29 11:27:12 +01:00
ffmpeg.h ffmpeg_opt: add -to option to specify stop time 2013-02-27 02:17:42 +01:00
ffmpeg_filter.c ffmpeg_filter: fix pointer to local outside scope 2014-06-23 18:17:42 +02:00
ffmpeg_opt.c ffmpeg_opt: Ask for overwrite in single image2 files too 2013-03-03 22:09:01 +01:00
ffplay.c ffplay: use AVFrame accessor functions 2013-03-01 23:22:08 +01:00
ffprobe.c ffprobe: fix scaling of vali in value_string() in case -prefix is selected 2014-04-23 17:22:49 +02:00
ffserver.c ffserver: strip odd chars from html error messages before sending them back 2014-01-16 00:35:12 +01:00
INSTALL Merge remote branch 'qatar/master' 2011-04-08 02:50:13 +02:00
library.mak build: fixes a "can't cd to..." issue when installing shared libraries. 2013-02-15 08:39:35 +01:00
LICENSE lavfi: port MP stereo3d filter 2013-03-05 18:36:40 +00:00
MAINTAINERS MAINTAINERS: update for 1.2 2013-03-08 14:45:46 +01:00
Makefile build: Add proper infrastructure for adding and checking host CPPFLAGS 2013-02-23 20:23:45 +01:00
README README: be a tiny bit more verbose 2012-04-06 10:23:26 +02:00
RELEASE update for 1.2.10 2014-11-02 11:34:41 +01:00
version.sh version.sh: Print versions based on the last git tag for release branches 2014-08-19 03:16:20 +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.