diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-08 04:49:50 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-01-08 10:19:36 +0100 |
commit | de14fe7e297f1e73223a9594e1fb3ff4fc7b529e (patch) | |
tree | e7c2cb79d48fa89fd57456a1a44c16f13b6bb222 /libavcodec/rangecoder.h | |
parent | 580d3ef6fea356785496b9b06798b7aa7080c0ea (diff) | |
download | ffmpeg-de14fe7e297f1e73223a9594e1fb3ff4fc7b529e.tar.gz |
avformat/mxfdec: detect loops during header parsing
The header parser uses forward and backward parsing, making the
bulletproof prevention of loops difficult, thus this simple
detection code.
If someone improves the forward/backward parsing so it cannot loop
then this commit should be reverted
Fixes Ticket3278
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1c010fd035c1a14dc73827b84f21f593e969a5d6)
Diffstat (limited to 'libavcodec/rangecoder.h')
0 files changed, 0 insertions, 0 deletions