diff options
author | Martin Storsjö <[email protected]> | 2013-09-28 23:57:36 +0300 |
---|---|---|
committer | Luca Barbato <[email protected]> | 2013-10-04 03:52:10 +0200 |
commit | c10f3fed259c23e6887f68cdf3e7d4ae87026f65 (patch) | |
tree | c1e805912af07fd6f352d9acbe9bfce176694679 /libavformat/rtp.c | |
parent | 10f384e4f5d0ee692cacaf90d629d8bc2178b092 (diff) |
mov: Make sure the read sample count is nonnegative
This avoids setting a negative number of frames, ending up with a
negative average frame rate.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
Signed-off-by: Martin Storsjö <[email protected]>
(cherry picked from commit c231987662194d009dd91bfc57c678e0e70ca161)
Signed-off-by: Luca Barbato <[email protected]>
Diffstat (limited to 'libavformat/rtp.c')
0 files changed, 0 insertions, 0 deletions