[MPlayer-cvslog] r35269 - trunk/libmpcodecs/vf_divtc.c

reimar subversion at mplayerhq.hu
Fri Oct 26 20:05:30 CEST 2012


Author: reimar
Date: Fri Oct 26 20:05:30 2012
New Revision: 35269

Log:
Fix check for empty log file (n contains a start offset of 15).

Modified:
   trunk/libmpcodecs/vf_divtc.c

Modified: trunk/libmpcodecs/vf_divtc.c
==============================================================================
--- trunk/libmpcodecs/vf_divtc.c	Thu Oct 25 23:53:53 2012	(r35268)
+++ trunk/libmpcodecs/vf_divtc.c	Fri Oct 26 20:05:30 2012	(r35269)
@@ -414,7 +414,7 @@ static int analyze(struct vf_priv_s *p)
       n++;
       }
 
-   if(!n)
+   if(n <= 15)
       {
       mp_msg(MSGT_VFILTER, MSGL_FATAL, "%s: Empty 2-pass log file.\n",
              vf_info_divtc.name);


More information about the MPlayer-cvslog mailing list