summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/mga_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index a6a6e7b396..20e564cf7c 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -371,7 +371,7 @@ static int mga_init(int width,int height,unsigned int format){
return (-1);
}
- if(width>1023 || height >1024)
+ if(width>1023 || height >1023)
{
mp_msg(MSGT_VO,MSGL_ERR, MGSTR_LIBVO_MGA_ResolutionTooHigh);
return (-1);