$NetBSD: patch-ad,v 1.4 2009/01/08 17:21:36 wiz Exp $

--- scripts/lav2mpeg.orig	2006-07-01 06:46:14.000000000 +0200
+++ scripts/lav2mpeg
@@ -106,10 +106,10 @@ getTimeDiff() {
 }
 
 doStep() {
-   if [ "$LOGCOMMANDS" == "0" ]; then
+   if [ "$LOGCOMMANDS" = "0" ]; then
       echo "COMMAND=${step[$count]}"
    fi
-   if [ "$LOGONLY" == "" ]; then
+   if [ "$LOGONLY" = "" ]; then
       eval ${step[$count]}
    fi
 }
@@ -174,7 +174,7 @@ printDebugInfo() {
    logIt "downscale=$downscaling"
 }
 
-if [ $# -eq 0 -o "$1" == "--help" -o "$1" = "-h" ]; then
+if [ $# -eq 0 -o "$1" = "--help" -o "$1" = "-h" ]; then
    usage;
    exit 1
 fi
@@ -268,7 +268,7 @@ logIt "$infostr"
 # lavinfo should set up video_frames, video_width
 # video_height, video_inter, video_norm, audio_chans
 eval $($LAVINFO $@ | grep "=")  # grep for = to remove Warnings
-if [ "$video_frames" == "" ]; then
+if [ "$video_frames" = "" ]; then
    logIt "'lavinfo $@' died! exiting"
    logIt " maybe you don't have lavinfo. or your input flags were wrong"
    logIt " input files must be the last input on the command line"
@@ -348,7 +348,7 @@ else
 fi
 
 # set up the audio
-if [ "$userstereo" == "" ]; then
+if [ "$userstereo" = "" ]; then
    stereo=${audio_chans:-0}
 else
    stereo=$userstereo
@@ -401,7 +401,7 @@ if [ $video_width -gt $output_width -o $
    fi
 fi
 
-if [ "$video_inter" == "1" ]; then
+if [ "$video_inter" = "1" ]; then
    yuvdenoise_flags="$yuvdenoise_flags -F"
 fi
 
