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-09 11:51:32 +0100 |
commit | adb784ad86103e4874e13fa1b9f88e36ab4e9a16 (patch) | |
tree | 0eef01a86b5f1265201ffaec32c6d035d706c5e6 /libswscale/swscale_unscaled.c | |
parent | 4de4eb60a1ba54edb2baf6d3c2cce91d92172a97 (diff) | |
download | ffmpeg-adb784ad86103e4874e13fa1b9f88e36ab4e9a16.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 'libswscale/swscale_unscaled.c')
0 files changed, 0 insertions, 0 deletions