seek: Fix av_gen_search() so that seeks outside max/min do not successfully seek...
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Oct 2011 18:45:00 +0000 (20:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Oct 2011 18:45:00 +0000 (20:45 +0200)
commit27f7589ab1ad0f6d2694d713e176dfa234662e60
tree19b3d253d6f9a856a6ba5edb75985127b530e53b
parent7846280d1da5e4929bb8fb5adcc4b0c017535bea
seek: Fix av_gen_search() so that seeks outside max/min do not successfully seek to random
points but rather seek to the min/max.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c
tests/ref/seek/ac3_rm
tests/ref/seek/lavf_asf
tests/ref/seek/lavf_rm
tests/ref/seek/lavf_ts
tests/ref/seek/wmav1_asf
tests/ref/seek/wmav2_asf