view TOOLS/TVout/matroxset/normal @ 16071:f453658297c3

use calloc so that mp_cmd_free won't use uninitialized data in case of an error
author reimar
date Sat, 23 Jul 2005 16:54:45 +0000
parents b205f8ca892a
children
line wrap: on
line source

#! /bin/sh

if [ -c /dev/fb0 ]; then
  HEAD0=/dev/fb0
  HEAD1=/dev/fb1
else
  HEAD0=/dev/fb/0
  HEAD1=/dev/fb/1
fi
matroxset -f ${HEAD1} -m 0
matroxset -f ${HEAD0} -m 1
matroxset -f ${HEAD1} -m 2