Mercurial > mplayer.hg
changeset 31069:d7c792ed942e
Continue probing even for score == AVPROBE_SCORE_MAX / 4 to match
FFmpeg's behaviour.
author | reimar |
---|---|
date | Sat, 01 May 2010 15:38:37 +0000 |
parents | ae2e8f0d4625 |
children | 52eb10f9e51e |
files | libmpdemux/demux_lavf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Sat May 01 13:50:49 2010 +0000 +++ b/libmpdemux/demux_lavf.c Sat May 01 15:38:37 2010 +0000 @@ -176,7 +176,7 @@ read_size = FFMIN(2*read_size, PROBE_BUF_SIZE - probe_data_size); } while ((demuxer->desc->type != DEMUXER_TYPE_LAVF_PREFERRED || probe_data_size < SMALL_MAX_PROBE_SIZE) && - score < AVPROBE_SCORE_MAX / 4 && + score <= AVPROBE_SCORE_MAX / 4 && read_size > 0 && probe_data_size < PROBE_BUF_SIZE); av_free(avpd.buf);