diff --git a/bluray b/bluray index e9a9f64..a3043b6 100644 --- a/bluray +++ b/bluray @@ -374,7 +374,7 @@ if [[ $resolution == autoar ]]; then DARH=` echo $DAR | sed "s/:[0-9]\{1,\}//" ` # DH0=` expr $VideoHeight / $DARW ` # DH=` expr $DH0 \* $DARH ` - DH=` echo "$VideoHeight/$DARH*$DARW" | bc -l | awk '{print int($0)}' ` + DH=` echo "$VideoHeight/$DARW*$DARH" | bc -l | awk '{print int($0)}' ` fenbianlv="${DH}x${DW}" echo -n "${yellow}${bold}The correct resolution should be ${underline}$fenbianlv${reset_underline},${normal} [${cyan}T${normal}]rue or [F]alse " ; read responce