changeset 33410:f055dbc340f6

LINE_MAX seems to be missing from mingw32.
author cigaes
date Tue, 24 May 2011 19:28:24 +0000
parents 061c397604f2
children 320890c90a8a
files libmpcodecs/vf_delogo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_delogo.c	Tue May 24 15:01:27 2011 +0000
+++ b/libmpcodecs/vf_delogo.c	Tue May 24 19:28:24 2011 +0000
@@ -252,7 +252,7 @@
 static int load_timed_rectangles(struct vf_priv_s *delogo)
 {
     FILE *f;
-    char line[LINE_MAX];
+    char line[2048];
     int lineno = 0, p;
     double ts, last_ts = 0;
     struct timed_rectangle *rect = NULL, *nr;