diff options
author | Ronald S. Bultje <[email protected]> | 2012-02-17 12:21:18 -0800 |
---|---|---|
committer | Reinhard Tartler <[email protected]> | 2012-02-26 10:03:16 +0100 |
commit | f947e965beb858b67ab6e49f9e24e8d12d9b5a7d (patch) | |
tree | ddf891348f9c9d173d9fb17c061040a1be72f350 /libavformat/concat.c | |
parent | 5c365dc9792a6a91637498e2ee1fdcb90c9c7640 (diff) |
asf: prevent packet_size_left from going negative if hdrlen > pktlen.
This prevents failed assertions further down in the packet processing
where we require non-negative values for packet_size_left.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit 41afac7f7a67c634c86b1d17fc930e9183d4aaa0)
Signed-off-by: Anton Khirnov <[email protected]>
Diffstat (limited to 'libavformat/concat.c')
0 files changed, 0 insertions, 0 deletions