diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-20 12:20:06 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-10-04 03:26:29 +0200 |
commit | 17e7edf75b451edd7dde4816c3225fd1557517c7 (patch) | |
tree | b4b82df55f3fec92f05143ea934d87eaefc9a619 /tools/pktdumper.c | |
parent | a6a8f66608cce414ef31c01a3059d64f6ef26663 (diff) | |
download | ffmpeg-17e7edf75b451edd7dde4816c3225fd1557517c7.tar.gz |
lavf: Avoid setting avg_frame_rate if delta_dts is negative
This avoids setting avg_frame_rate to invalid (negative)
values.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit ce67f442be0f6c4a8794272873852e256b5b8ee4)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'tools/pktdumper.c')
0 files changed, 0 insertions, 0 deletions