[MPlayer-cvslog] r31111 - trunk/libmpdemux/demux_lavf.c

reimar subversion at mplayerhq.hu
Sat May 1 17:38:38 CEST 2010


Author: reimar
Date: Sat May  1 17:38:37 2010
New Revision: 31111

Log:
Continue probing even for score == AVPROBE_SCORE_MAX / 4 to match
FFmpeg's behaviour.

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	Sat May  1 15:50:49 2010	(r31110)
+++ trunk/libmpdemux/demux_lavf.c	Sat May  1 17:38:37 2010	(r31111)
@@ -176,7 +176,7 @@ static int lavf_check_file(demuxer_t *de
         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);
 


More information about the MPlayer-cvslog mailing list