diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2011-05-07 22:48:29 +0200 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-05-10 07:53:19 -0400 |
commit | ecc297308ff3cb8b20359df44108ac299b22bdf1 (patch) | |
tree | aaeb1adc69c026a6e8c12314727ce8f69f268b48 /tests/ref/lavf | |
parent | 23d10ce0150b4fed54131fce4c1a6e47378a88dd (diff) | |
download | ffmpeg-ecc297308ff3cb8b20359df44108ac299b22bdf1.tar.gz |
lavf/utils: fix ff_interleave_compare_dts corner case.
This should fix behavior introduced by commit
96573c0d7605672d69b42ae1dcf18764ce47c71a. Av_rescale_rnd() is not
lossless so if two timestamps are equal after being rescaled they are
not always actually identical. This patch use av_compare_ts() to get
always a correct result.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'tests/ref/lavf')
-rw-r--r-- | tests/ref/lavf/avi | 2 | ||||
-rw-r--r-- | tests/ref/lavf/nut | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/lavf/avi b/tests/ref/lavf/avi index bba0f6f854..cf47755ab7 100644 --- a/tests/ref/lavf/avi +++ b/tests/ref/lavf/avi @@ -1,3 +1,3 @@ -f8b3e77a1430c348dc06472571d37191 *./tests/data/lavf/lavf.avi +7e5e4db8c04f0acd16cff6b30e60d0e5 *./tests/data/lavf/lavf.avi 331032 ./tests/data/lavf/lavf.avi ./tests/data/lavf/lavf.avi CRC=0x2a83e6b0 diff --git a/tests/ref/lavf/nut b/tests/ref/lavf/nut index 6bf659db5c..461b18587c 100644 --- a/tests/ref/lavf/nut +++ b/tests/ref/lavf/nut @@ -1,3 +1,3 @@ -df1eab0853a22713cf4172acbf1a6b4b *./tests/data/lavf/lavf.nut +16b9d2cf8effb7dae316c6b9248a49b7 *./tests/data/lavf/lavf.nut 319888 ./tests/data/lavf/lavf.nut ./tests/data/lavf/lavf.nut CRC=0x2a83e6b0 |