diff options
author | Martin Storsjö <martin@martin.st> | 2013-07-15 17:13:54 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-07-15 21:38:58 +0300 |
commit | 31931520df35a6f9606fe8293c8a39e2d1fabedf (patch) | |
tree | 96f5f3b6abd13ea57bd3da1c53f5040710ff68a0 /libavformat/os_support.c | |
parent | 5b4eb243bce10a3e8345401a353749e0414c54ca (diff) | |
download | ffmpeg-31931520df35a6f9606fe8293c8a39e2d1fabedf.tar.gz |
mov: Do not allow updating the time scale after it has been set
The time scale is set in mdhd, and later validated in the
enclosing trak atom once all of its children have been parsed.
A loose mdhd atom outside of a trak atom could update the time
scale of the last stream without any validation.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Cc: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/os_support.c')
0 files changed, 0 insertions, 0 deletions