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:22:31 +0100 |
commit | f974c54909dc83e3c74933295718bf2539542044 (patch) | |
tree | eb2ae32d0cacec06db28a8570b353cd9d017561b /libavcodec/mpcdata.h | |
parent | 71b3235cea40623ece8e9f2d91cda0e1257ac3f7 (diff) | |
download | ffmpeg-f974c54909dc83e3c74933295718bf2539542044.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/mpcdata.h')
0 files changed, 0 insertions, 0 deletions